USB: shutdown all URBs after controller death
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 17 Jul 2014 19:40:57 +0000 (15:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 23:59:27 +0000 (16:59 -0700)
commit1299cff9fa39811cd1b3f1731527b062425f0541
tree4a936c2b2435d1dcf0f5a3d380e78ef942f5b8ff
parent46865bf3d6b4ec96e243e333b5a2fac1a790e283
USB: shutdown all URBs after controller death

When a host controller dies, we don't need to wait for a driver to
time out.  We can shut down its URBs immediately.  Without this
change, we can end up waiting 30 seconds for a mass-storage transfer
to time out.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c