diff options
author | Pawel Laszczak <[email protected]> | 2022-03-29 10:46:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-04-09 17:18:00 +0200 |
commit | b3fa25de31fb7e9afebe9599b8ff32eda13d7c94 (patch) | |
tree | 07b0b3c3230accf581fda41fa3f2764174e6a6fa /drivers/usb/gadget/function/uvc_queue.c | |
parent | 33597f0c48be0836854d43c577e35c8f8a765a7d (diff) |
usb: cdns3: Fix issue for clear halt endpoint
Path fixes bug which occurs during resetting endpoint in
__cdns3_gadget_ep_clear_halt function. During resetting endpoint
controller will change HW/DMA owned TRB. It set Abort flag in
trb->control and will change trb->length field. If driver want
to use the aborted trb it must update the changed field in
TRB.
Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
cc: <[email protected]>
Acked-by: Peter Chen <[email protected]>
Signed-off-by: Pawel Laszczak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_queue.c')
0 files changed, 0 insertions, 0 deletions