diff options
| author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-09 01:25:48 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-03-15 02:43:14 +0300 |
| commit | 4681b17154b3fd81f898802262985f662344e6ed (patch) | |
| tree | 5670e6668fe43dad7bb19dd91e227d2d09dbd066 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0295a34d61f14522fddb26856191520d2e1d7e77 (diff) | |
| download | linux-4681b17154b3fd81f898802262985f662344e6ed.tar.xz | |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
