USB: fix scheduling of Iso URBs in uhci-hcd
commit7898ffc543566a9c4a1b4ff39f43857d2d84a51c
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 16 Oct 2007 15:55:30 +0000 (16 11:55 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Oct 2007 19:18:43 +0000 (25 12:18 -0700)
treef69b2c37ef58f3e850205c2036b01e420f2fbb53
parent6ce073bd8be0a741440944fed892a136a1d24bbe
USB: fix scheduling of Iso URBs in uhci-hcd

This patch (as1003) changes uhci-hcd to treat the URB_ISO_ASAP flag
the same as other host controller drivers, namely, to schedule an Iso
URB for the first available time slot that hasn't already expired.
URBs in which the flag isn't set will be scheduled for the first slot
following the last URB, even if it has expired.

This fixes a problem reported by Martin Bachem.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c