diff options
author | Pawel Laszczak <pawell@cadence.com> | 2022-11-15 04:22:18 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-22 16:52:05 +0100 |
commit | 7a21b27aafa3edead79ed97e6f22236be6b9f447 (patch) | |
tree | 3b869f5a20f428fcaee5d63d9f615d52a7de110c /lib/test_fortify/write_overflow-strcpy.c | |
parent | f90f5afd5083a7cb4aee13bd4cc0ae600bd381ca (diff) |
usb: cdnsp: fix issue with ZLP - added TD_SIZE = 1
Patch modifies the TD_SIZE in TRB before ZLP TRB.
The TD_SIZE in TRB before ZLP TRB must be set to 1 to force
processing ZLP TRB by controller.
cc: <stable@vger.kernel.org>
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20221115092218.421267-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions