aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2017-11-27 15:49:16 -0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-12-01 11:27:14 +0100
commit1cb35a33a28394fd711bb26ddf3a564f4e9d9125 (patch)
tree1cfa7d9ffc5d796da820fb9a5be9a4f5d0c2a068 /tools/perf/scripts/python/export-to-postgresql.py
parentcan: mcba_usb: fix typo (diff)
downloadlinux-dev-1cb35a33a28394fd711bb26ddf3a564f4e9d9125.tar.xz
linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions