summaryrefslogtreecommitdiffstats
path: root/drivers/of/base.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-05-13 10:00:31 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-05-19 14:09:30 -0700
commitef56b79b66faeeb0dc14213d3cc9e0534a960dee (patch)
tree0121cda9a0842adc5f8f5bf1220d208d4f772c29 /drivers/of/base.c
parent9ffee1c4be7c1981e47e520172638a4b00881880 (diff)
downloadblackbird-op-linux-ef56b79b66faeeb0dc14213d3cc9e0534a960dee.tar.gz
blackbird-op-linux-ef56b79b66faeeb0dc14213d3cc9e0534a960dee.zip
clk: fix critical clock locking
The critical clock handling in __clk_core_init isn't taking the enable lock before calling clk_core_enable, which in turns triggers the warning in the lockdep_assert_held call in that function when lockep is enabled. Add the calls to clk_enable_lock/unlock to make sure it doesn't happen. Fixes: 32b9b1096186 ("clk: Allow clocks to be marked as CRITICAL") Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/of/base.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud