lkml.org 
[lkml]   [2010]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] [GIT PULL] One more power management fix for 2.6.37
On Wed, 10 Nov 2010, Rafael J. Wysocki wrote:

> What about applying the patch below now and moving to the multiple list heads
> approach in the next cycle?
>
> Rafael
>
> ---
> From: Rafael J. Wysocki <rjw@sisk.pl>
> Subject: 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.

This looks okay to me. Just like the other routines.

Alan Stern



\
 
 \ /
  Last update: 2010-11-15 16:23    [W:0.039 / U:2.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site