[PATCH] USB: EHCI full speed ISO bugfixes
commit6d2b571d10d30548e3602fe6f52a558e13b5341e
authorClemens Ladisch <clemens@ladisch.de>
Fri, 20 Jan 2006 21:49:10 +0000 (20 13:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Apr 2006 16:44:27 +0000 (7 09:44 -0700)
tree6b6aadc54f72512af5553c440b144da3c7dc8de8
parent4a80b29d91bc7a598a7d65b2500493a9fc3cb322
[PATCH] USB: EHCI full speed ISO bugfixes

This patch replaces the split ISO raw_mask calculation code in the
iso_stream_init() function that computed incorrect numbers of high
speed transactions for both input and output transfers.

In the output case, it added a superfluous start-split transaction for
all maxmimum packet sizes that are a multiple of 188.

In the input case, it forgot to add complete-split transactions for all
microframes covered by the full speed transaction, and the additional
complete-split transaction needed for the case when full speed data
starts arriving near the end of a microframe.

These changes don't affect the lack of full speed bandwidth, but at
least it removes the MMF errors that the HC raised with some input
streams.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-sched.c