Skip to content
Commit 492d82d5 authored by Jing Leng's avatar Jing Leng Committed by Greg Kroah-Hartman
Browse files

usb: cdnsp: Fixed setting last_trb incorrectly



commit 5c7578c3 upstream.

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: e913aada ("usb: cdnsp: Fixed issue with ZLP")
Cc: stable <stable@kernel.org>
Acked-by: default avatarPawel Laszczak <pawell@cadence.com>
Signed-off-by: default avatarJing Leng <jleng@ambarella.com>
Link: https://lore.kernel.org/r/20220609021134.1606-1-3090101217@zju.edu.cn


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 701d8ec0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment