linux-sg2042/drivers/hid/usbhid
Ming Lei 37093b7017 USBHID: don't recover device if suspend fails in system sleep
If suspend callback fails in system sleep context, usb core will
ignore the failure and let the system sleep go ahead further, so this
patch doesn't recover device under this situation, otherwise
may cause resume() confused.

Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-25 10:55:46 -07:00
..
Kconfig HID: Fix the generic Kconfig options 2012-06-25 17:25:00 +02:00
Makefile HID: usbhid: Clean up makefile (-y instead of -objs) 2010-11-18 10:43:18 +01:00
hid-core.c USBHID: don't recover device if suspend fails in system sleep 2013-03-25 10:55:46 -07:00
hid-pidff.c HID: Add and use hid_<level>: dev_<level> equivalents 2010-12-10 15:10:38 +01:00
hid-quirks.c HID: usbhid: quirk for Formosa IR receiver 2013-01-03 11:13:42 +01:00
hiddev.c HID: hiddev: fix nonblocking read semantics wrt EIO/ERESTARTSYS 2012-11-28 00:10:44 +01:00
usbhid.h HID: usbhid: replace HID_REPORTED_IDLE with HID_SUSPENDED 2012-07-20 11:24:24 +02:00
usbkbd.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2012-01-10 10:48:28 -08:00
usbmouse.c USB: usbmouse.c: remove err() usage 2012-04-25 14:48:20 -07:00