Skip to contentSkip to conversation

USB: adutux: fix debugging

PATCH New Oliver Neukum 1 participant 1 message Sep 17, 2020 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: adutux: fix debugging

Handling for removal of the controller was missing at one place. Add it.

---
 drivers/usb/misc/adutux.c | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/misc/adutux.c +1 -0
index d8d157c4c271..96495fcd952a 100644
@@ -209,6 +209,7 @@ static void adu_interrupt_out_callback(struct urb *urb)
 
 	if (status != 0) {
 		if ((status != -ENOENT) &&
+		    (status != -ESHUTDOWN) &&
 		    (status != -ECONNRESET)) {
 			dev_dbg(&dev->udev->dev,
 				"%s :nonzero status received: %d\n", __func__,
Signature · 1 line
2.16.4