]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
UHCI: increase Resume-Detect-off delay
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 11 Aug 2006 15:33:58 +0000 (11:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:54 +0000 (11:58 -0700)
commitde06a3b842b31b31220637c869f112cfbc1a5ef6
tree3b179338903b5ad7ca0c0676f14d2ef6437eb545
parent64a21d025d3a979a8715f2ec7acabca7b5406c8a
UHCI: increase Resume-Detect-off delay

The UHCI controller in my laptop takes longer to turn off the
Resume-Detect bit than the 4 us allowed by uhci-hcd.  Presumably other
computers will have the same problem.

This patch (as752) increases the maximum delay to 10 us, which should be
plenty, and uses polling to avoid penalizing systems which can turn the
bit off more quickly.

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