diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2015-04-30 16:16:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-09 18:27:32 +0200 |
commit | d104d0152a97fade389f47635b73a9ccc7295d0b (patch) | |
tree | 4188cccf32a785a4780751b1cf960ac07525ce3c /drivers/usb/host/ehci-sched.c | |
parent | Merge tag 'usb-ci-v4.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-d104d0152a97fade389f47635b73a9ccc7295d0b.tar.xz linux-d104d0152a97fade389f47635b73a9ccc7295d0b.zip |
xhci: fix isoc endpoint dequeue from advancing too far on transaction error
Isoc TDs usually consist of one TRB, sometimes two. When all goes well we
receive only one success event for a TD, and move the dequeue pointer to
the next TD.
This fails if the TD consists of two TRBs and we get a transfer error
on the first TRB, we will then see two events for that TD.
Fix this by making sure the event we get is for the last TRB in that TD
before moving the dequeue pointer to the next TD. This will resolve some
of the uvc and dvb issues with the
"ERROR Transfer event TRB DMA ptr not part of current TD" error message
Cc: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
0 files changed, 0 insertions, 0 deletions