]> err.no Git - linux-2.6/commit
USB: make the autosuspend workqueue thread freezable
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 22 May 2007 13:38:39 +0000 (09:38 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 06:45:50 +0000 (23:45 -0700)
commit7ed92f1a149dddc3cb537ccd7441e98adac12c3e
tree86408164dd5cfbb48bade9ca49601c4f2d7edd16
parent8ab5e8c0ca55c4b40d254f7043a9052345fcd343
USB: make the autosuspend workqueue thread freezable

This patch (as881b) makes the ksuspend_usb_wq workqueue freezable.  We
don't want a rogue workqueue thread running around, unexpectedly
suspending or resuming USB devices in the middle of a system sleep
transition.

This fixes Bugzilla #8498.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c