diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-08-30 15:47:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:57 -0400 |
commit | 02c399ee45a54987c152fe5f627ed949bb55f187 (patch) | |
tree | b4af9b47729985739815f62a2388e4afa2b49e03 /drivers/usb/host | |
parent | 01d883d44a1ca8dc77486635d428cba63e7fdadf (diff) |
usbcore: remove usb_suspend_root_hub
This patch (as740) removes the existing support for autosuspend of
root hubs. That support fit in rather awkwardly with the rest of
usbcore and it was used only by ohci-hcd. It won't be needed any more
since the hub driver will take care of autosuspending all hubs, root
or external.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ohci-hub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c index f1b1ed086bde..0b899339cac8 100644 --- a/drivers/usb/host/ohci-hub.c +++ b/drivers/usb/host/ohci-hub.c | |||
@@ -135,9 +135,6 @@ static int ohci_bus_suspend (struct usb_hcd *hcd) | |||
135 | hcd->poll_rh = 0; | 135 | hcd->poll_rh = 0; |
136 | 136 | ||
137 | done: | 137 | done: |
138 | /* external suspend vs self autosuspend ... same effect */ | ||
139 | if (status == 0) | ||
140 | usb_hcd_suspend_root_hub(hcd); | ||
141 | spin_unlock_irqrestore (&ohci->lock, flags); | 138 | spin_unlock_irqrestore (&ohci->lock, flags); |
142 | return status; | 139 | return status; |
143 | } | 140 | } |