USB: EHCI: remove PCI assumption
commit517ba4f6111dfd40bb7b4e4e0fe38a0d63545e31
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:27:25 +0000 (13 13:27 -0700)
tree947d11a982c117363dd686f63fb37cc3000f11c2
parent8c4db5ab03ff9fc177c4cf0ac349839ca5993099
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