]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: don't propagate FREEZE or PRETHAW suspends
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 20 Sep 2007 16:37:50 +0000 (12:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:28 +0000 (14:55 -0700)
commit7108f28465a0a37d5afc05c5ad788938423b74a7
treeeb7e15a097d8d4b0e826ffa8f1613bea4e091140
parent393e5511a5f58e82b88589f1dd2464f6b661df06
USB: don't propagate FREEZE or PRETHAW suspends

This patch (as992) fixes a recently-added bug.  During a FREEZE or
PRETHAW suspend notification, non-root devices don't actually get
suspended.  So we shouldn't tell their parent hubs that they did.

(This code path used to be skipped over, until the FREEZE/PRETHAW test
got moved out of usb_suspend_both() into generic_suspend().)

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