Skip to content
Commit f6a30530 authored by Stefan Wahren's avatar Stefan Wahren Committed by Ulf Hansson
Browse files

pmdomain: bcm: bcm2835-power: Use devm_clk_get_optional



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: default avatarStefan Wahren <wahrenst@gmx.net>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20250415190558.16354-1-wahrenst@gmx.net


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f89c082d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment