diff options
author | Ming Lei <tom.leiming@gmail.com> | 2010-10-22 23:48:14 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-22 23:48:14 +0200 |
commit | d63be5f924cf054e7ac18bb2761f9533039fb076 (patch) | |
tree | 6db8b10599ad992de452f7b6193e02c75c9296e3 /Documentation/powerpc/sound.txt | |
parent | 9c034392533f3e9f00656d5c58478cff2560ef81 (diff) | |
download | linux-d63be5f924cf054e7ac18bb2761f9533039fb076.tar.gz linux-d63be5f924cf054e7ac18bb2761f9533039fb076.tar.bz2 linux-d63be5f924cf054e7ac18bb2761f9533039fb076.zip |
PM / Runtime: fix recursive locking warning of lockdep from rpm_resume()
For device with no_callbacks flag set, its power lock and its parent's
power lock may be held nestedly in rpm_resume, so we should take
spin_lock_nested(lock, SINGLE_DEPTH_NESTING) to acquire parent power lock
to avoid lockdep warning.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/powerpc/sound.txt')
0 files changed, 0 insertions, 0 deletions