USB: force root hub resume after power loss
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 19 Sep 2006 14:07:58 +0000 (10:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:59:00 +0000 (11:59 -0700)
commit353a4098c61272b33a02ec5802fb3859fec91a0e
treebe2480d2fb0184b6d31954f01ccd074296bde252
parent71795c1df30b034414c921b4930ed88de34ca348
USB: force root hub resume after power loss

This patch(as785) forces the PM core to resume a root hub after a
power loss during system sleep.  If the root hub had been suspended
before the system sleep then normally the PM core would not resume it
afterward.  Without this resume, various sorts of wakeup events (like
port change events) can get lost.

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