]> git.baikalelectronics.ru Git - kernel.git/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)
commit5a30d67c435a1093977b65341ecdb520d3dd4e6b
tree2446e8041cdcf07fc5a530b853a6fa546fa0f52f
parent3dc4c779fde17aa5e84117490ab6156f13a7732e
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