summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMartin Kelly2017-11-28 00:49:16 +0100
committerMarc Kleine-Budde2017-12-01 11:27:14 +0100
commit1cb35a33a28394fd711bb26ddf3a564f4e9d9125 (patch)
tree1cfa7d9ffc5d796da820fb9a5be9a4f5d0c2a068 /ipc
parentcan: mcba_usb: fix typo (diff)
downloadkernel-qcow2-linux-1cb35a33a28394fd711bb26ddf3a564f4e9d9125.tar.gz
kernel-qcow2-linux-1cb35a33a28394fd711bb26ddf3a564f4e9d9125.tar.xz
kernel-qcow2-linux-1cb35a33a28394fd711bb26ddf3a564f4e9d9125.zip
can: mcba_usb: fix device disconnect bug
Currently, when you disconnect the device, the driver infinitely resubmits all URBs, so you see: Rx URB aborted (-32) in an infinite loop. Fix this by catching -EPIPE (what we get in urb->status when the device disconnects) and not resubmitting. With this patch, I can plug and unplug many times and the driver recovers correctly. Signed-off-by: Martin Kelly <mkelly@xevo.com> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions