kernel_optimize_test/drivers/usb/dwc2
Minas Harutyunyan a206167bd6 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
commit d53dc38857f6dbefabd9eecfcbf67b6eac9a1ef4 upstream.

Sending zero length packet in DDMA mode perform by DMA descriptor
by setting SP (short packet) flag.

For DDMA in function dwc2_hsotg_complete_in() does not need to send
zlp.

Tested by USBCV MSC tests.

Fixes: f71b5e2533 ("usb: dwc2: gadget: fix zero length packet transfers")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Link: https://lore.kernel.org/r/967bad78c55dd2db1c19714eee3d0a17cf99d74a.1626777738.git.Minas.Harutyunyan@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 14:35:44 +02:00
..
core_intr.c usb: dwc2: Fix build in periphal-only mode 2021-06-10 13:39:26 +02:00
core.c usb: dwc2: Don't reset the core after setting turnaround time 2021-07-14 16:56:43 +02:00
core.h
debug.h
debugfs.c
drd.c
gadget.c usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 2021-07-28 14:35:44 +02:00
hcd_ddma.c
hcd_intr.c
hcd_queue.c
hcd.c
hcd.h
hw.h
Kconfig
Makefile
params.c
pci.c
platform.c