diff options
author | Eric Anholt <eric@anholt.net> | 2019-02-20 10:19:51 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2019-03-04 15:33:14 -0800 |
commit | 4deabfae643d8852c643664d9088a647abfaa5d0 (patch) | |
tree | f4664e7c2b35df513a3019745bd6c23aff606ce7 /arch | |
parent | 7f3d6c8e8f5f041c86c0a9f64e4b4ab7c6373ac2 (diff) | |
download | linux-4deabfae643d8852c643664d9088a647abfaa5d0.tar.bz2 |
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: Eric Anholt <eric@anholt.net>
Fixes: 670c672608a1 ("soc: bcm: bcm2835-pm: Add support for power domains under a new binding.")
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions