]> git.baikalelectronics.ru Git - kernel.git/commit
usbatm: Detect usb device shutdown and ignore failed urbs
authorSimon Arlott <simon@fire.lp0.eu>
Thu, 26 Apr 2007 07:38:04 +0000 (00:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:41 +0000 (13:28 -0700)
commit11be51582cd34e92dd28090f59a28ca5c4e5c274
treef5586fdac621f0729c0833a110da72f5dc8ba579
parent8b0a9a65b1ea81f7de055a78601e3fe049fdd51f
usbatm: Detect usb device shutdown and ignore failed urbs

Detect usb device shutdown and ignore failed urbs.  This happens when the
driver is unloaded or the device is unplugged.

I'm not sure what other urb statuses should be ignored, and the warning
message doesn't need to be shown when the module is unloaded or the device
is removed.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: Duncan Sands <duncan.sands@math.u-psud.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/usbatm.c