HID: fix USB HID devices after STD with autosuspend
authorOliver Neukum <oliver@neukum.org>
Wed, 18 Feb 2009 10:46:45 +0000 (11:46 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Mar 2009 16:57:58 +0000 (17:57 +0100)
commit378a0ede126a2c59ab9ea1771de624521db5053e
tree08c81d94b190309c78cfc8a627edab0884d69a6c
parent0f6f1407e3e4a2cc4f602806d3c174473850f4da
HID: fix USB HID devices after STD with autosuspend

This patch fixes a bug caused by reset_resume not changing the internal
status flags for a device that is resumed via reset_resume. To do so the
reset handlers, which correctly assume that a device is awake, can no longer
do all the work of reset_resume handling.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Tested-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c