diff options
author | Pawel Laszczak <pawell@cadence.com> | 2022-11-22 09:51:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-29 08:56:09 +0100 |
commit | ae423ef5d095e09970f52c08020fdbf7f9d87c22 (patch) | |
tree | 638cdf5af77592c7e39dfa3770e95ed24462c7d1 /drivers/usb/misc/Kconfig | |
parent | usb: musb: Drop old unused am35x glue layer (diff) | |
download | linux-ae423ef5d095e09970f52c08020fdbf7f9d87c22.tar.xz linux-ae423ef5d095e09970f52c08020fdbf7f9d87c22.zip |
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>
Diffstat (limited to 'drivers/usb/misc/Kconfig')
0 files changed, 0 insertions, 0 deletions