[PATCH] pmdomain: bcm: bcm2835-power: Use devm_clk_get_optional
Florian Fainelli
florian.fainelli at broadcom.com
Tue Apr 15 12:08:54 PDT 2025
On 4/15/25 12:05, Stefan Wahren wrote:
> The driver tries to implement optional clock handling with devm_clk_get.
> It treats all errors except EPROBE_DEFER as a missing clock, which is
> not correct. So use devm_clk_get_optional here and get the corner-cases
> right.
>
> Signed-off-by: Stefan Wahren <wahrenst at gmx.net>
Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
--
Florian
More information about the linux-arm-kernel
mailing list