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)
commitbe326f4c9bdfdff8a85145fb89b0a44c4d20ebc6
tree69026af05608449162f9eb2920953486392c18e2
parent6c2334e9019039d7952190e239e6a8f0d10101fe
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