]> git.baikalelectronics.ru Git - kernel.git/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)
commit167bb7c3038569b2083d8459a63ece8f853c2ac3
tree86408164dd5cfbb48bade9ca49601c4f2d7edd16
parent7bdeb8b954f5344678c82bed2019a4d6b3736296
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