summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-05-13 10:00:31 +0200
committerTaniya Das <tdas@codeaurora.org>2016-11-28 10:17:41 +0530
commit421676896cdd442477d863f405eef9d27851f479 (patch)
tree194487704082500607c05357c5853c1e9a063aeb /fs/jbd2/commit.c
parent077d50e6f6edc8ae06c5f0d11e795901218ac534 (diff)
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> (cherry picked from commit ef56b79b66faeeb0dc14213d3cc9e0534a960dee) Git-commit: ef56b79b66faeeb0dc14213d3cc9e0534a960dee Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change-Id: Ifefcbe4741ddd046755ecc24c3f2d619566c2823 Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions