Re: [PATCH] net: macb: simplify clk_init with dev_err_probe

2021-03-17 Thread Nicolas Ferre
On 17/03/2021 at 17:16, Michael Tretter wrote: On some platforms, e.g., the ZynqMP, devm_clk_get can return -EPROBE_DEFER if the clock controller, which is implemented in firmware, has not been probed yet. As clk_init is only called during probe, use dev_err_probe to simplify the error message a

Re: [PATCH] net: macb: simplify clk_init with dev_err_probe

2021-03-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 17 Mar 2021 17:16:09 +0100 you wrote: > On some platforms, e.g., the ZynqMP, devm_clk_get can return > -EPROBE_DEFER if the clock controller, which is implemented in firmware, > has not been probed yet. > > As clk_

[PATCH] net: macb: simplify clk_init with dev_err_probe

2021-03-17 Thread Michael Tretter
On some platforms, e.g., the ZynqMP, devm_clk_get can return -EPROBE_DEFER if the clock controller, which is implemented in firmware, has not been probed yet. As clk_init is only called during probe, use dev_err_probe to simplify the error message and hide it for -EPROBE_DEFER. Signed-off-by: Mic