summaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore/wa-rpipe.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@vmware.com>2011-03-23 22:41:23 -0700
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-04-13 16:19:48 -0700
commitdfa49c4ad120a784ef1ff0717168aa79f55a483a (patch)
treed8dc009e82608aa2935d95ab07f50d7d3e3b7d9a /drivers/usb/wusbcore/wa-rpipe.c
parent926008c9386dde09b015753b6681c502177baa30 (diff)
downloadblackbird-op-linux-dfa49c4ad120a784ef1ff0717168aa79f55a483a.tar.gz
blackbird-op-linux-dfa49c4ad120a784ef1ff0717168aa79f55a483a.zip
USB: xhci - fix math in xhci_get_endpoint_interval()
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> Cc: stable@kernel.org
Diffstat (limited to 'drivers/usb/wusbcore/wa-rpipe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud