Re: [PATCH] macb: propagate errors when getting optional clocks

2019-10-19 Thread David Miller
From: Michael Tretter Date: Fri, 18 Oct 2019 16:11:43 +0200 > The tx_clk, rx_clk, and tsu_clk are optional. Currently the macb driver > marks clock as not available if it receives an error when trying to get > a clock. This is wrong, because a clock controller might return > -EPROBE_DEFER if a cl

Re: [PATCH] macb: propagate errors when getting optional clocks

2019-10-18 Thread Nicolas.Ferre
On 18/10/2019 at 16:11, Michael Tretter wrote: > The tx_clk, rx_clk, and tsu_clk are optional. Currently the macb driver > marks clock as not available if it receives an error when trying to get > a clock. This is wrong, because a clock controller might return > -EPROBE_DEFER if a clock is not avai

[PATCH] macb: propagate errors when getting optional clocks

2019-10-18 Thread Michael Tretter
The tx_clk, rx_clk, and tsu_clk are optional. Currently the macb driver marks clock as not available if it receives an error when trying to get a clock. This is wrong, because a clock controller might return -EPROBE_DEFER if a clock is not available, but will eventually become available. In these