Re: [PATCH] net: PHY: bcm-unimac: Fix clock handling

From: David Miller
Date: Tue Mar 24 2020 - 19:46:15 EST


From: Andre Przywara <andre.przywara@xxxxxxx>
Date: Tue, 24 Mar 2020 16:10:10 +0000

> The DT binding for this PHY describes an *optional* clock property.
> Due to a bug in the error handling logic, we are actually ignoring this
> clock *all* of the time so far.
>
> Fix this by using devm_clk_get_optional() to handle this clock properly.
>
> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>

Applied with Fixes tag added and Subject line corrected.

Thanks.