diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-11-11 01:50:53 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-11-11 01:50:53 +0100 |
commit | d08a5ace18dce9b18d8eb56bb6c0feef082b1b33 (patch) | |
tree | 401e2aa7312a2ae682433e6b320fee9feab071bd /kernel | |
parent | f6614b7bb405a9b35dd28baea989a749492c46b2 (diff) | |
download | linux-stable-d08a5ace18dce9b18d8eb56bb6c0feef082b1b33.tar.gz linux-stable-d08a5ace18dce9b18d8eb56bb6c0feef082b1b33.tar.bz2 linux-stable-d08a5ace18dce9b18d8eb56bb6c0feef082b1b33.zip |
PM: Allow devices to be removed during late suspend and early resume
Holding dpm_list_mtx across late suspend and early resume of devices
is problematic for the PCMCIA subsystem and doesn't allow device
objects to be removed by late suspend and early resume driver
callbacks. This appears to be overly restrictive, as drivers are
generally allowed to remove device objects in other phases of suspend
and resume. Therefore rework dpm_{suspend|resume}_noirq() so that
they don't have to hold dpm_list_mtx all the time.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions