USB: EHCI: remove PCI assumption
commita6b37a9ed03585d0e1e132d424569003be2abba2
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 14 Jul 2010 15:03:23 +0000 (14 11:03 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:30:57 +0000 (13 13:30 -0700)
tree3784d0fc01a8ca6071b8a0c2921a0eae6e4c347b
parent63d0b4fd495af6b8fba0b8f5a2fccb81acf44e3f
USB: EHCI: remove PCI assumption

commit ae68a83bdc1971cb02fefc7a686ba6d077065e71 upstream.

This patch (as1405) fixes a small bug in ehci-hcd's isochronous
scheduler.  Not all EHCI controllers are PCI, and the code shouldn't
assume that they are.  Instead, introduce a special flag for
controllers which need to delay iso scheduling for full-speed devices
beyond the scheduling threshold.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
CC: David Brownell <david-b@pacbell.net>
Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-pci.c
drivers/usb/host/ehci-sched.c
drivers/usb/host/ehci.h