]> err.no Git - linux-2.6/commit
[PATCH] USB: Fix locking for USB suspend/resume
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 21 Nov 2005 16:58:07 +0000 (11:58 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:48:34 +0000 (13:48 -0800)
commit4bf0ba861442d289eebfad8ea9ce365ab04fd582
tree0301e45a155712ec03e0226a1e85e74198778f7e
parent7d069b7d80933004282c48edbe62526e4cb0aecc
[PATCH] USB: Fix locking for USB suspend/resume

The earlier USB locking updates didn't touch the suspend/resume
routines.  They need updating as well, since now the caller holds the
device semaphore.  This patch (as608) makes the necessary changes.  It
also adds a line to store the correct power state when a device is
resumed, something which was unaccountably missing.

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