EHCI : Fix a regression in the ISO scheduler
authorMatthieu CASTET <castet.matthieu@free.fr>
Mon, 28 Nov 2011 10:30:22 +0000 (11:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 29 Nov 2011 00:59:29 +0000 (09:59 +0900)
commite3420901eba65b1c46bed86d360e3a8685d20734
tree747ae7ec657793fba9b5523cd573f6bd25f7905b
parentdf711fc9962b9491af2b92bd0d21ecbfefe4e5fa
EHCI : Fix a regression in the ISO scheduler

Fix a regression that was introduced by commit
811c926c538f7e8d3c08b630dd5844efd7e000f6 (USB: EHCI: fix HUB TT scheduling
issue with iso transfer).

We detect an error if next == start, but this means uframe 0 can't be allocated
anymore for iso transfer...

Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-sched.c