USB: EHCI pci-quirks.c: don't wait so long for BIOS handoff
authorSteven Noonan <steven@uplinklabs.net>
Wed, 5 Nov 2008 20:41:24 +0000 (12:41 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:50 +0000 (09:59 -0800)
commitd859bffc662482f06ba5603e6f592de4e18cf135
tree29ad0c9fd35af9017049757231ced8b70cee9dfd
parent92b0da1571353a39d07e0a592c4dda294cc2e04c
USB: EHCI pci-quirks.c: don't wait so long for BIOS handoff

Instead of waiting a painful 5000ms, quirk_usb_disable_ehci() now does a
1000ms loop to wait for the BIOS to acknowledge the handoff.

The five second delay is really quite irritating to have to deal with
every boot up, and I very seriously doubt any non-broken bios takes more
than a second to do the actual handoff.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/pci-quirks.c