diff options
author | Pawel Laszczak <[email protected]> | 2022-11-22 03:51:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-29 08:56:09 +0100 |
commit | ae423ef5d095e09970f52c08020fdbf7f9d87c22 (patch) | |
tree | 638cdf5af77592c7e39dfa3770e95ed24462c7d1 /scripts/gdb/linux/constants.py.in | |
parent | 57f8e00d8a82073ab7893ab8ae4055580ef9552f (diff) |
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: <[email protected]>
Reviewed-by: Peter Chen <[email protected]>
Signed-off-by: Pawel Laszczak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
0 files changed, 0 insertions, 0 deletions