* [PATCH] USB: handle NAK packets in input devices.
@ 2004-10-18 18:41 Greg KH
0 siblings, 0 replies; only message in thread
From: Greg KH @ 2004-10-18 18:41 UTC (permalink / raw)
To: torvalds, Andrew Morton; +Cc: linux-usb-devel, linux-kernel
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
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
diff -Nru a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
--- a/drivers/usb/input/hid-core.c 2004-10-15 16:40:01 -07:00
+++ b/drivers/usb/input/hid-core.c 2004-10-15 16:40:01 -07:00
@@ -926,6 +926,8 @@
case -ENOENT:
case -ESHUTDOWN:
return;
+ case -ETIMEDOUT: /* NAK */
+ break;
default: /* error */
warn("input irq status %d received", urb->status);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-18 18:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18 18:41 [PATCH] USB: handle NAK packets in input devices Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox