Files
linux/drivers
Dmitry Torokhov 5d7a20b586 USB: xhci - fix math in xhci_get_endpoint_interval()
commit dfa49c4ad1 upstream.

When parsing exponent-expressed intervals we subtract 1 from the
value and then expect it to match with original + 1, which is
highly unlikely, and we end with frequent spew:

	usb 3-4: ep 0x83 - rounding interval to 512 microframes

Also, parsing interval for fullspeed isochronous endpoints was
incorrect - according to USB spec they use exponent-based
intervals (but xHCI spec claims frame-based intervals). I trust
USB spec more, especially since USB core agrees with it.

This should be queued for stable kernels back to 2.6.31.

Reviewed-by: Micah Elizabeth Scott <micah@vmware.com>
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-22 08:44:29 -07:00
..
2011-04-14 16:53:18 -07:00
2011-01-07 14:43:17 -08:00
2011-01-07 14:43:06 -08:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2011-03-14 14:29:53 -07:00
2011-02-17 15:37:03 -08:00
2010-05-12 14:57:15 -07:00