linux-uconsole/drivers/usb/cdns3
Pawel Laszczak b820764c64 usb: cdns3: Fix issue for clear halt endpoint
commit b3fa25de31 upstream.

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: 7733f6c32e ("usb: cdns3: Add Cadence USB3 DRD Driver")
cc: <stable@vger.kernel.org>
Acked-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20220329084605.4022-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-09 09:04:59 +02:00
..
cdns3-imx.c
cdns3-pci-wrap.c
cdns3-ti.c
core.c usb: cdns3: fix NULL pointer dereference on no platform data 2021-03-11 14:17:26 +01:00
core.h usb: cdns3: add quirk for enable runtime pm by default 2021-03-11 14:17:25 +01:00
debug.h
drd.c
drd.h
ep0.c usb: cdns3: Fixed incorrect gadget state 2021-08-12 13:22:10 +02:00
gadget-export.h
gadget.c usb: cdns3: Fix issue for clear halt endpoint 2022-05-09 09:04:59 +02:00
gadget.h
host-export.h
host.c usb: cdns3: fix NULL pointer dereference on no platform data 2021-03-11 14:17:26 +01:00
Kconfig
Makefile
trace.c
trace.h