aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-lh7a404.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-08-04 14:31:55 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 14:58:48 -0400
commitd413984ae936fad46678403b38d79c595e5aaafe (patch)
treef494a450d7289d941e3ca2b2e33bfacc29cac024 /drivers/usb/host/ohci-lh7a404.c
parent06afff00bcab0e384afbef70194fd3469532abdf (diff)
USB: OHCI avoids root hub timer polling
This teaches OHCI to use the root hub status change (RHSC) IRQ, bypassing root hub timers most of the time and switching over to the "new" root hub polling scheme. It's complicated by the fact that implementations of OHCI trigger and ack that IRQ differently (the spec is vague there). Avoiding root hub timers helps mechanisms like "dynamic tick" leave the CPU in lowpower modes for longer intervals. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-lh7a404.c')
-rw-r--r--drivers/usb/host/ohci-lh7a404.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-lh7a404.c b/drivers/usb/host/ohci-lh7a404.c
index 5602da9bd52c..f2c9161d6d6a 100644
--- a/drivers/usb/host/ohci-lh7a404.c
+++ b/drivers/usb/host/ohci-lh7a404.c
@@ -173,10 +173,6 @@ static const struct hc_driver ohci_lh7a404_hc_driver = {
173 * basic lifecycle operations 173 * basic lifecycle operations
174 */ 174 */
175 .start = ohci_lh7a404_start, 175 .start = ohci_lh7a404_start,
176#ifdef CONFIG_PM
177 /* suspend: ohci_lh7a404_suspend, -- tbd */
178 /* resume: ohci_lh7a404_resume, -- tbd */
179#endif /*CONFIG_PM*/
180 .stop = ohci_stop, 176 .stop = ohci_stop,
181 177
182 /* 178 /*
@@ -196,6 +192,7 @@ static const struct hc_driver ohci_lh7a404_hc_driver = {
196 */ 192 */
197 .hub_status_data = ohci_hub_status_data, 193 .hub_status_data = ohci_hub_status_data,
198 .hub_control = ohci_hub_control, 194 .hub_control = ohci_hub_control,
195 .hub_irq_enable = ohci_rhsc_enable,
199#ifdef CONFIG_PM 196#ifdef CONFIG_PM
200 .bus_suspend = ohci_bus_suspend, 197 .bus_suspend = ohci_bus_suspend,
201 .bus_resume = ohci_bus_resume, 198 .bus_resume = ohci_bus_resume,