]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Add some more lockdep assertions
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 7 May 2015 00:00:54 +0000 (17:00 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 7 May 2015 18:32:54 +0000 (11:32 -0700)
commit1b6c4ae2c87091bc10ed1a1b6d1f4c9da10a786c
tree7ba9c5fbc3d328d0457469ada3988056bb42b3a6
parentf3a2ea5ca5f98a0934f5dfc9cbf094f951725976
clk: Add some more lockdep assertions

We don't check to make sure the enable_lock is held across
enable/disable and we don't check if the prepare_lock is held
across prepare/unprepare. Add some asserts to catch any future
locking problems.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c