Files
linux/drivers
Martin Kelly 67464fbca3 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
commit 12147edc43 upstream.

In mcba_usb, we have observed that when you unplug the device, the driver will
endlessly resubmit failing URBs, which can cause CPU stalls. This issue
is fixed in mcba_usb by catching the codes seen on device disconnect
(-EPIPE and -EPROTO).

This driver also resubmits in the case of -EPIPE and -EPROTO, so fix it
in the same way.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-14 09:52:47 +01:00
..
2017-11-03 09:02:30 -07:00
2017-08-29 13:46:35 +02:00
2017-11-03 09:02:30 -07:00