Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: cdnsp: Fixed setting last_trb incorrectly
When ZLP occurs in bulk transmission, currently cdnsp will set last_trb for the last two TRBs, it will trigger an error "ERROR Transfer event TRB DMA ptr not part of current TD ...". Fixes: e913aad ("usb: cdnsp: Fixed issue with ZLP") Cc: stable <[email protected]> Acked-by: Pawel Laszczak <[email protected]> Signed-off-by: Jing Leng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information