]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
HID: autosuspend -- fix lockup of hid on reset
authorOliver Neukum <oliver@neukum.org>
Sun, 22 Mar 2009 17:01:49 +0000 (18:01 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Mar 2009 16:57:58 +0000 (17:57 +0100)
commit6d77976800c3f29a0337fadcc9ddd79050fa5620
tree3618f5fef912ba9568e24d7df1d562e1ec7fd862
parentae2f007468223e9efd6973be0364b9307a050a0c
HID: autosuspend -- fix lockup of hid on reset

This fixes a use of flush_scheduled_work() in USB HID's reset logic that can
deadlock.

Tested-by: Valdis Kletniks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c