]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: remove short initial timeout for device descriptor fetch
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 11 May 2007 14:19:04 +0000 (10:19 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 06:45:49 +0000 (23:45 -0700)
commitb89ee19ae6c0b5a0d9facca780b53959fbadd123
treed777fc2bda8cce83cd2104c7e74857b501025c04
parentd984abc97e400d68a09729b80060fe0ec591eb16
USB: remove short initial timeout for device descriptor fetch

This patch (as905) removes a micro-optimization from the hub port
initialization code.  Previously we had been using a short timeout on
the first attempt the read the device descriptor; now we will use the
standard timeout length.

It's not clear that the short timeout ever provided any benefit.  And
now we know of one case where it actually hurts: The device can't meet
the short timeout and then it gets terminally confused.

This fixes Bugzilla #8444.

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