Skip to contentSkip to conversation

USB: handle NAK packets in input devices.

PATCH New Greg KH 1 participant 1 message Oct 18, 2004 USB

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 USB: handle NAK packets in input devices.

Andrew requested this fix go in before 2.6.9 was out, to keep people's syslog quiet for a lot of different USB input devices.

Fixes bug bugzilla.kernel.org bug #3564

drivers/usb/input/hid-core.c +2 -0
diff -Nru a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
@@ -926,6 +926,8 @@
 		case -ENOENT:
 		case -ESHUTDOWN:
 			return;
+		case -ETIMEDOUT:	/* NAK */
+			break;
 		default:		/* error */
 			warn("input irq status %d received", urb->status);
 	}