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 /include/linux | |
parent | 0295a34d61f14522fddb26856191520d2e1d7e77 (diff) |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions