From: Krzysztof Kozlowski Date: Fri, 9 Jan 2015 08:27:57 +0000 (+0100) Subject: PM / OPP: Assert RCU lock in exported functions X-Git-Tag: fixes-v4.0-rc1~160^2~4^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04bf1c7f76b05be8134a833ec023f1c96f81b8a1;p=pandora-kernel.git PM / OPP: Assert RCU lock in exported functions Add lockdep asserts for holding the RCU lock when calling dev_pm_opp_get_freq() and dev_pm_opp_get_voltage() to aid in detecting RCU misuses. These are called often after dev_pm_opp_find_freq_ceil/exact() which already asserts for RCU lock. However one could make an error by releasing lock too early - just after dev_pm_opp_find_freq_ceil(). Signed-off-by: Krzysztof Kozlowski Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed