diff options
author | Pawel Laszczak <pawell@cadence.com> | 2021-06-23 10:27:28 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@zeku.com> | 2021-07-29 09:13:02 +0300 |
commit | e913aada06830338633fb8524733b0ad3d38a7c1 (patch) | |
tree | fb7d5bbadabae0024ca8dca5535920d53766d0ad /tools/perf/scripts/python/export-to-sqlite.py | |
parent | aa82f94e869edd72f4fadb08c6ffca8927e4934e (diff) | |
download | linux-e913aada06830338633fb8524733b0ad3d38a7c1.tar.xz |
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: <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>
Link: https://lore.kernel.org/r/20210623072728.41275-1-pawell@gli-login.cadence.com
Signed-off-by: Peter Chen <peter.chen@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions