Thread (1 message) 1 message, 1 author, 2011-02-07

Re: [PATCH 1/2] USB / Hub: Do not call device_set_wakeup_capable() under spinlock

From: Minchan Kim <hidden>
Date: 2011-02-07 10:10:18

On Mon, Feb 7, 2011 at 5:07 AM, Rafael J. Wysocki [off-list ref] wrote:
From: Rafael J. Wysocki <redacted>

A subsequent patch will modify device_set_wakeup_capable() in such
a way that it will call functions which may sleep and therefore it
shouldn't be called under spinlocks.  In preparation for that, modify
usb_set_device_state() to avoid calling device_set_wakeup_capable()
under device_state_lock.

Signed-off-by: Rafael J. Wysocki <redacted>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Reported-by: Minchan Kim <redacted>
Tested-by: Minchan Kim <redacted>

-- 
Kind regards,
Minchan Kim
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help