diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-11-14 11:45:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:48:31 -0500 |
commit | 1c50c317e2e7f15427149cbc216a63366468710e (patch) | |
tree | d48dc0b03090e89c644f73f9997b4f70b6ec9b41 /drivers/usb/host/sl811-hcd.c | |
parent | 8364d6b0be2dbbf162c6aea79615b5025a0d67c2 (diff) |
[PATCH] USB: central handling for host controllers that were reset during suspend/resume
This patch (as515b) adds a routine to usbcore to simplify handling of
host controllers that lost power or were reset during suspend/resume.
The new core routine marks all the child devices of the root hub as
NOTATTACHED and tells khubd to disconnect the device structures as soon
as possible.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/sl811-hcd.c')
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 3a9cd4607962..517360b77d8e 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -1803,6 +1803,7 @@ sl811h_resume(struct platform_device *dev) | |||
1803 | || !device_can_wakeup(&hcd->self.root_hub->dev)) { | 1803 | || !device_can_wakeup(&hcd->self.root_hub->dev)) { |
1804 | sl811->port1 = 0; | 1804 | sl811->port1 = 0; |
1805 | port_power(sl811, 1); | 1805 | port_power(sl811, 1); |
1806 | usb_root_hub_lost_power(hcd->self.root_hub); | ||
1806 | return 0; | 1807 | return 0; |
1807 | } | 1808 | } |
1808 | 1809 | ||