From: Alan Stern Date: Thu, 19 Jul 2012 20:08:54 +0000 (-0400) Subject: HID: usbhid: check for suspend or reset before restarting X-Git-Tag: v3.6-rc1~119^2~1^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4150c8f3d80b4a9387083478a86da8b3390dd83;p=pandora-kernel.git HID: usbhid: check for suspend or reset before restarting This patch (as1596) improves the queue-restart logic in usbhid by checking to see if the device is suspended or a reset is about to occur. There's no point submitting an URB if either of those is true. Signed-off-by: Alan Stern CC: Oliver Neukum Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed