summaryrefslogtreecommitdiffstats
path: root/lib/strnlen_user.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-04-18 13:49:53 +0200
committerMark Brown <broonie@kernel.org>2016-04-18 19:13:24 +0200
commit07c5c3ad98926dc15d31aa86de62fd4170f2a745 (patch)
tree2befea4802027583d75eab9cb5837675ee2b5e44 /lib/strnlen_user.c
parentMAINTAINERS: Add DT bindings to regulator framework entry (diff)
downloadlinux-07c5c3ad98926dc15d31aa86de62fd4170f2a745.tar.xz
linux-07c5c3ad98926dc15d31aa86de62fd4170f2a745.zip
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 <t-kristo@ti.com> Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/strnlen_user.c')
0 files changed, 0 insertions, 0 deletions