android_kernel_oneplus_msm8998/drivers/net/can/usb
Martin Kelly d73fcef16d can: usb_8dev: cancel urb on -EPIPE and -EPROTO
commit 12147edc434c9e4c7c2f5fee2e5519b2e5ac34ce 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-16 10:33:48 +01:00
..
peak_usb
ems_usb.c can: ems_usb: cancel urb on -EPIPE and -EPROTO 2017-12-16 10:33:47 +01:00
esd_usb2.c can: esd_usb2: cancel urb on -EPIPE and -EPROTO 2017-12-16 10:33:47 +01:00
gs_usb.c can: gs_usb: fix busy loop if no more TX context is available 2017-10-27 10:23:16 +02:00
Kconfig
kvaser_usb.c can: kvaser_usb: cancel urb on -EPIPE and -EPROTO 2017-12-16 10:33:47 +01:00
Makefile
usb_8dev.c can: usb_8dev: cancel urb on -EPIPE and -EPROTO 2017-12-16 10:33:48 +01:00