diff options
author | David Brownell <david-b@pacbell.net> | 2006-08-04 14:31:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:48 -0400 |
commit | d413984ae936fad46678403b38d79c595e5aaafe (patch) | |
tree | f494a450d7289d941e3ca2b2e33bfacc29cac024 /drivers/usb/host/ohci-s3c2410.c | |
parent | 06afff00bcab0e384afbef70194fd3469532abdf (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-s3c2410.c')
-rw-r--r-- | drivers/usb/host/ohci-s3c2410.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c index d2fc6969a9f7..c4c77d26ca1f 100644 --- a/drivers/usb/host/ohci-s3c2410.c +++ b/drivers/usb/host/ohci-s3c2410.c | |||
@@ -465,6 +465,7 @@ static const struct hc_driver ohci_s3c2410_hc_driver = { | |||
465 | */ | 465 | */ |
466 | .hub_status_data = ohci_s3c2410_hub_status_data, | 466 | .hub_status_data = ohci_s3c2410_hub_status_data, |
467 | .hub_control = ohci_s3c2410_hub_control, | 467 | .hub_control = ohci_s3c2410_hub_control, |
468 | .hub_irq_enable = ohci_rhsc_enable, | ||
468 | #ifdef CONFIG_PM | 469 | #ifdef CONFIG_PM |
469 | .bus_suspend = ohci_bus_suspend, | 470 | .bus_suspend = ohci_bus_suspend, |
470 | .bus_resume = ohci_bus_resume, | 471 | .bus_resume = ohci_bus_resume, |