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 | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (diff) | |
download | linux-d08a5ace18dce9b18d8eb56bb6c0feef082b1b33.tar.xz linux-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