]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: Use lockdep asserts to find missing hold of prepare_lock
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 9 Jan 2015 08:28:10 +0000 (09:28 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 12 Mar 2015 19:18:45 +0000 (12:18 -0700)
commit496eadf821c2a5111a4b1b401ddda8d1fc18fb0b
treea9755af3fb7133be17b8b77fa9e7827c0462e4e1
parentc517d838eb7d07bbe9507871fab3931deccff539
clk: Use lockdep asserts to find missing hold of prepare_lock

Add lockdep asserts for holding the prepare_lock to all functions
marking this as a requirement in description. Add this to private and
exported functions so all locking misuse could be detected during
debugging.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk.c