]> git.baikalelectronics.ru Git - kernel.git/commit
usb: cdnsp: fix issue with ZLP - added TD_SIZE = 1
authorPawel Laszczak <pawell@cadence.com>
Tue, 15 Nov 2022 09:22:18 +0000 (04:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2022 15:52:05 +0000 (16:52 +0100)
commitec15af99d3f998d882b521f9877bb0ebacb0863f
tree3b869f5a20f428fcaee5d63d9f615d52a7de110c
parent6793fe7ce43127c1c7e94f06f15997a4e0c00f80
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: 7a5ffba5c283 ("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>
drivers/usb/cdns3/cdnsp-ring.c