Don't touch USB controller IO registers when they are disabled
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 1 Nov 2005 05:12:40 +0000 (21:12 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 1 Nov 2005 05:12:40 +0000 (21:12 -0800)
commit541ab4af11d5b41b95cd633e9b1d96cea9947ac2
tree079228fafa21a7d2920525c9d1e4b5a3edbcf390
parent1e4c85f97fe26fbd70da12148b3992c0e00361fd
Don't touch USB controller IO registers when they are disabled

The USB "handoff" code is an early PCI quirk to make sure we own the USB
controller (as opposed to the BIOS/SMM).  But if the controller isn't
even enabled yet, don't try to access it.

Acked-by: Paul Mackerras <paulus@samba.org> (who had an alternate patch)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/host/pci-quirks.c