twx-linux/drivers/usb/cdns3
Pawel Laszczak ae423ef5d0 usb: cdnsp: fix lack of ZLP for ep0
Patch implements the handling of ZLP for control transfer.
To send the ZLP driver must prepare the extra TRB in TD with
length set to zero and TRB type to TRB_NORMAL.
The first TRB must have set TRB_CHAIN flag, TD_SIZE = 1
and TRB type to TRB_DATA.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
cc: <stable@vger.kernel.org>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20221122085138.332434-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-29 08:56:09 +01:00
..
cdns3-debug.h
cdns3-ep0.c
cdns3-gadget.c usb: cdns3: fix issue with rearming ISO OUT endpoint 2022-08-30 15:33:15 +02:00
cdns3-gadget.h usb: cdns3: allocate TX FIFO size according to composite EP number 2022-05-19 18:14:29 +02:00
cdns3-imx.c
cdns3-pci-wrap.c
cdns3-plat.c usb: cdns3: remove dead code 2022-09-27 10:36:36 +02:00
cdns3-ti.c
cdns3-trace.c
cdns3-trace.h
cdnsp-debug.h
cdnsp-ep0.c
cdnsp-gadget.c usb: cdnsp: Fix issue with Clear Feature Halt Endpoint 2022-11-22 16:51:26 +01:00
cdnsp-gadget.h
cdnsp-mem.c
cdnsp-pci.c usb: cdns3: adjust the partial logic of cdnsp_pci_remove 2022-10-22 13:21:40 +02:00
cdnsp-ring.c usb: cdnsp: fix lack of ZLP for ep0 2022-11-29 08:56:09 +01:00
cdnsp-trace.c
cdnsp-trace.h
core.c
core.h
drd.c
drd.h
gadget-export.h
host-export.h
host.c usb: cdns3: host: fix endless superspeed hub port reset 2022-11-09 12:35:13 +01:00
Kconfig
Makefile