diff options
| author | Pawel Laszczak <[email protected]> | 2021-06-23 07:27:28 +0000 |
|---|---|---|
| committer | Peter Chen <[email protected]> | 2021-07-29 06:13:02 +0000 |
| commit | e913aada06830338633fb8524733b0ad3d38a7c1 (patch) | |
| tree | fb7d5bbadabae0024ca8dca5535920d53766d0ad /drivers/fpga/fpga-mgr.c | |
| parent | usb: cdnsp: Fix incorrect supported maximum speed (diff) | |
| download | kernel-e913aada06830338633fb8524733b0ad3d38a7c1.tar.gz kernel-e913aada06830338633fb8524733b0ad3d38a7c1.zip | |
usb: cdnsp: Fixed issue with ZLP
The condition "if (need_zero_pkt && zero_len_trb)" was always false
and it caused that TRB for ZLP was not prepared.
Fix causes that after preparing last TRB in TD, the driver prepares
additional TD with ZLP when a ZLP is required.
Cc: <[email protected]>
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
