diff options
author | Tero Kristo <[email protected]> | 2016-04-18 14:49:53 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-04-18 18:13:24 +0100 |
commit | 07c5c3ad98926dc15d31aa86de62fd4170f2a745 (patch) | |
tree | 2befea4802027583d75eab9cb5837675ee2b5e44 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d2597e8c4e593e4a4dbe70837e9396e53a2665a (diff) |
regulator: core: remove lockdep assert from suspend_prepare
suspend_prepare can be called during regulator init time also, where
the mutex is not locked yet. This causes a false lockdep warning.
To avoid the problem, remove the lockdep assertion from the function
causing the issue. An alternative would be to lock the mutex during
init, but this would cause other problems (some APIs used during init
will attempt to lock the mutex also, causing deadlock.)
Signed-off-by: Tero Kristo <[email protected]>
Reported-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions