diff options
author | Andiry Xu <[email protected]> | 2010-08-09 13:56:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-08-23 20:50:16 -0700 |
commit | 14184f9b8047026f1812f49df074e89dad3a09bc (patch) | |
tree | 5492adad4d8ce5d263abbdad713c13a35b08202c /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | a1669b2c64a9c8b031e0ac5cbf2692337a577f7c (diff) |
USB: xHCI: update ring dequeue pointer when process missed tds
This patch fixes a isoc transfer bug reported by Sander Eikelenboom.
When ep->skip is set, endpoint ring dequeue pointer should be updated
when processed every missed td. Although ring dequeue pointer will also
be updated when ep->skip is clear, leave it intact during missed tds
processing may cause two issues:
1). If the very next valid transfer following missed tds is a short
transfer, its actual_length will be miscalculated;
2). If there are too many missed tds during transfer, new inserted tds
may found the transfer ring full and urb enqueue fails.
Reported-by: Sander Eikelenboom <[email protected]>
Tested-by: Sander Eikelenboom <[email protected]>
Signed-off-by: Andiry Xu <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions