diff options
author | Minas Harutyunyan | 2021-07-20 05:41:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman | 2021-07-21 09:50:55 +0200 |
commit | d53dc38857f6dbefabd9eecfcbf67b6eac9a1ef4 (patch) | |
tree | 2d902932fe24f1e3a68735bf1ac14ef6e558addf /include | |
parent | c4a0f7a6ab5417eb6105b0e1d7e6e67f6ef7d4e5 (diff) |
usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
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: f71b5e2533de ("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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions