Skip to content
Commit d08a5ace authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent f6614b7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment