]> git.baikalelectronics.ru Git - kernel.git/commit
uas: Fix reset locking
authorHans de Goede <hdegoede@redhat.com>
Sun, 22 Sep 2013 14:27:02 +0000 (16:27 +0200)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:10 +0000 (15:38 -0800)
commit7d3f200946ff7356f11088ff8c98b7059018c8f6
tree69026af05608449162f9eb2920953486392c18e2
parentd6996c415ee3b860cd3e6fb0aac930e5d536b0cd
uas: Fix reset locking

Fix the uas_eh_bus_reset_handler not properly taking the usbdev lock
before calling usb_device_reset, the usb-core expects this lock to be
taken when usb_device_reset is called.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/storage/uas.c