]> git.baikalelectronics.ru Git - kernel.git/commit
USB: make ksuspend_usbd thread non-freezable
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 19 Nov 2007 15:15:02 +0000 (10:15 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:51 +0000 (14:34 -0800)
commit9a2f250b24ff04e38e039fa5441ad21ee26bcced
treed50872c7e72f022002f5e1067ada5f270329213f
parenta0fdc3e68a68289fc1da1854bfe3d095875896f8
USB: make ksuspend_usbd thread non-freezable

This patch (as1012b) makes the ksuspend_usbd kernel thread
non-freezable.  Since the PM core has been changed to lock all devices
during a system sleep, the thread no longer needs to be frozen.  It
won't interfere with a system sleep because before trying to resume a
root hub device, it acquires the device's lock.

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