From 561507026c9a2e1de1660e3e9a80d8175fded5e9 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 17 Oct 2004 21:46:50 -0700 Subject: [PATCH] [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 Signed-off-by: Linus Torvalds --- drivers/usb/input/hid-core.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.5