]> err.no Git - linux-2.6/commit
USB: switch ehci-hcd to new polling scheme
authorMarcelo Tosatti <marcelo@kvack.org>
Sun, 21 Jan 2007 21:45:59 +0000 (19:45 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:39 +0000 (15:44 -0800)
commit1d619f128ba911cd3e6d6ad3475f146eb92f5c27
tree2446e8041cdcf07fc5a530b853a6fa546fa0f52f
parentd0532184086906889f4a0cd92eade1f7be49fbac
USB: switch ehci-hcd to new polling scheme

Switch ehci-hcd to use the new polling scheme, which reports root
hub status changes via the interrupt handler, in an asynchronous
fashion. Doing so disables polling for status changes (whose handler is
rh_timer_func).

Tested on a Geode GX machine, which is now capable of running at =~ 5
timer interrupts per second (in the -rt tree), resulting in significant
power savings.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c