Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-10-17 21:46:50 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-17 21:46:50 -0700
commit561507026c9a2e1de1660e3e9a80d8175fded5e9 (patch)
tree927c61c423e7f96094e42c3b16d2e3a6895315f8
parenta4a865be4eece693ff9fbca389e820407b78353e (diff)
[PATCH] 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 Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/usb/input/hid-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index 5c415425a18c..35baacd7706d 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -926,6 +926,8 @@ static void hid_irq_in(struct urb *urb, struct pt_regs *regs)
case -ENOENT:
case -ESHUTDOWN:
return;
+ case -ETIMEDOUT: /* NAK */
+ break;
default: /* error */
warn("input irq status %d received", urb->status);
}