[PATCH] usbhid: add error handling
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 31 Jan 2006 17:58:38 +0000 (12:58 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 22:49:56 +0000 (14:49 -0800)
commitaef4e266964bc15861b5835c1f5b9d2ebc155c2a
tree49d606bc0843231942231b801dc3010ca32ab4f7
parentfb669cc01ed778c4926f395e44a9b61644597d38
[PATCH] usbhid: add error handling

This patch (as628c) adds error handling to the USB HID core.  When an
error is reported for an interrupt URB, the driver will do delayed
retries, at increasing intervals, for up to one second.  If that doesn't
work, it will try to reset the device.  Testing by users has shown that
both the retries and the resets end up getting used.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/hid-core.c
drivers/usb/input/hid.h