Commit 7a21b27
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: <[email protected]>
Fixes: 3d82904 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <[email protected]>
Reviewed-by: Peter Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent f90f5af commit 7a21b27
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1763 | 1763 | | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | | - | |
| 1766 | + | |
| 1767 | + | |
1767 | 1768 | | |
1768 | 1769 | | |
1769 | 1770 | | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
1770 | 1775 | | |
1771 | 1776 | | |
1772 | 1777 | | |
| |||
1960 | 1965 | | |
1961 | 1966 | | |
1962 | 1967 | | |
1963 | | - | |
| 1968 | + | |
| 1969 | + | |
1964 | 1970 | | |
1965 | 1971 | | |
1966 | 1972 | | |
| |||
2025 | 2031 | | |
2026 | 2032 | | |
2027 | 2033 | | |
2028 | | - | |
| 2034 | + | |
2029 | 2035 | | |
2030 | 2036 | | |
2031 | 2037 | | |
| |||
2226 | 2232 | | |
2227 | 2233 | | |
2228 | 2234 | | |
2229 | | - | |
| 2235 | + | |
2230 | 2236 | | |
2231 | 2237 | | |
2232 | 2238 | | |
| |||
0 commit comments