]> git.baikalelectronics.ru Git - kernel.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)
commit77eeb1021a70a247d074b0b7688e256af7944b83
treea9755af3fb7133be17b8b77fa9e7827c0462e4e1
parentb7d65746744b343701de14ca433982a3229390be
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