From: Alan Stern Date: Thu, 19 Jul 2012 20:09:01 +0000 (-0400) Subject: HID: usbhid: fix error paths in suspend X-Git-Tag: v3.6-rc1~119^2~1^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb055fd0560b9835e9e1a956aa6a83c51a735801;p=pandora-kernel.git HID: usbhid: fix error paths in suspend This patch (as1597) fixes some of the error paths in usbhid's suspend routine. The driver was not careful to restart everything that might have been stopped, in cases where a suspend failed. For example, once the HID_SUSPENDED flag is set, an output report submission would not restart the corresponding URB queue. If a suspend fails, it's therefore necessary to check whether the queues need to be restarted. Signed-off-by: Alan Stern CC: Oliver Neukum Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed