diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-08 23:25:48 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-03-15 00:43:14 +0100 |
commit | 4681b17154b3fd81f898802262985f662344e6ed (patch) | |
tree | 5670e6668fe43dad7bb19dd91e227d2d09dbd066 /Documentation/power/devices.txt | |
parent | PM: Use appropriate printk() priority level in trace.c (diff) | |
download | linux-4681b17154b3fd81f898802262985f662344e6ed.tar.xz linux-4681b17154b3fd81f898802262985f662344e6ed.zip |
USB / Hub: Do not call device_set_wakeup_capable() under spinlock
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 to that, modify
usb_set_device_state() to avoid calling device_set_wakeup_capable()
under device_state_lock.
Tested-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/power/devices.txt')
0 files changed, 0 insertions, 0 deletions