EHCI: fix problem with BIOS handoff
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 5 Apr 2007 20:06:53 +0000 (16:06 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 06:45:48 +0000 (23:45 -0700)
commit4fe5354f61cad4c0550285283c83c66c070c198e
treec8e3cfb80587124c6753e0ad7e64b84bf6834c9d
parent36433127ae7a842482ba857f5ad3c431817a9542
EHCI: fix problem with BIOS handoff

This patch (as882) fixes a problem with the EHCI BIOS handoff.  On my
machine, the BIOS configures the controller and the handoff fails,
leaving the controller configured.  During resume-from-disk, this
confuses ehci-hcd into thinking that the controller has not been
tampered with.

The problem is fixed by turning off the Configured Flag whenever a
BIOS handoff is attempted, whether it succeeds or not.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/pci-quirks.c