Skip to content
Commit 4deabfae authored by Eric Anholt's avatar Eric Anholt
Browse files

soc: bcm: bcm2835-pm: Fix error paths of initialization.



The clock driver may probe after ours and so we need to pass the
-EPROBE_DEFER out.  Fix the other error path while we're here.

v2: Use dom->name instead of dom->gov as the flag for initialized
    domains, since we aren't setting up a governor.  Make sure to
    clear ->clk when no clk is present in the DT.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Fixes: 670c6726 ("soc: bcm: bcm2835-pm: Add support for power domains under a new binding.")
parent 7f3d6c8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment