[PATCH] UHCI: Improve FSBR-off timing
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 5 Jun 2006 16:28:57 +0000 (12:28 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:16 +0000 (15:04 -0700)
commitc5e3b741a3fec6077a480aa65ded29d79ded8898
tree13d5bf2fe7d2cc14500bafbb2c804da2ed23b102
parente323de46e83b6df2f330651907ac823f8d53308a
[PATCH] UHCI: Improve FSBR-off timing

This patch (as707) improves the FSBR operation in uhci-hcd by turning it
off more quickly when it isn't needed.  FSBR puts a noticeable load on a
computer's PCI bus, so it should be disabled as soon as possible when it
isn't in use.  The patch leaves it running for only 10 ms after the last
URB stops using it, on the theory that this should be long enough for a
driver to submit another URB if it wants keep FSBR going.

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-q.c