diff options
author | Alexander Popov <alpopov@ptsecurity.com> | 2016-05-20 11:37:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-08 07:18:39 +0200 |
commit | 134a92659f9382f00f94b880183472b0769ad53e (patch) | |
tree | b64456f16157955105de3825a1ae74dbf42903a0 /drivers/usb/image | |
parent | usb: ehci-platform: add reset controller number in struct ehci_platform_priv (diff) | |
download | linux-134a92659f9382f00f94b880183472b0769ad53e.tar.xz linux-134a92659f9382f00f94b880183472b0769ad53e.zip |
usbip: don't call stub_device_reset() during stub_disconnect()
stub_disconnect() calls stub_device_reset() during usb_unbind_device() when
usb device is locked. So usb_lock_device_for_reset() in stub_device_reset()
in that case polls for one second and returns -EBUSY anyway.
Remove useless flag USBIP_EH_RESET from SDEV_EVENT_REMOVED.
Signed-off-by: Alexander Popov <alpopov@ptsecurity.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/image')
0 files changed, 0 insertions, 0 deletions