Alan Stern 3e619d0415 USB: EHCI: fix bug in scheduling periodic split transfers
This patch (as1654) fixes a very old bug in ehci-hcd, connected with
scheduling of periodic split transfers.  The calculations for
full/low-speed bus usage are all carried out after the correction for
bit-stuffing has been applied, but the values in the max_tt_usecs
array assume it hasn't been.  The array should allow for allocation of
up to 90% of the bus capacity, which is 900 us, not 780 us.

The symptom caused by this bug is that any isochronous transfer to a
full-speed device with a maxpacket size larger than about 980 bytes is
always rejected with a -ENOSPC error.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-31 10:14:48 +01:00
..
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-12-13 11:58:41 +02:00
2012-12-12 11:45:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-08-27 07:15:30 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2013-01-23 11:27:08 -08:00
2012-12-12 11:45:16 -08:00
2012-05-01 21:33:37 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-12-12 11:45:16 -08:00
2012-12-12 11:45:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00