]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB UHCI: Use root-hub IRQs while suspended
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 21 Apr 2005 20:04:58 +0000 (16:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:44 +0000 (14:43 -0700)
commit48a812de745f24e5751f96a9bf5e8d6814bcc42f
tree1e812a2e9e2d63879555bb48303a8bc344be3864
parent37aa7f6914d99ed893811c8201c416ef1adb86ba
[PATCH] USB UHCI: Use root-hub IRQs while suspended

This patch, which has as478b as a prerequisite, enables the uhci-hcd
driver to take advantage of root-hub IRQs rather than polling during the
time it is suspended.  (Unfortunately the hardware doesn't support
port-change interrupts while the controller is running.)  It also turns
off the driver's private timer while the controller is suspended, as it
isn't needed then.  The combined elimination of polling interrupts and
timer interrupts ought to be enough to allow some systems to save a
noticeable amount of power while they are otherwise idle.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h
drivers/usb/host/uhci-hub.c
drivers/usb/host/uhci-q.c