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