Skip to content

Commit eb9238e

Browse files
committed
Merge tag 'usb-v5.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-linus
Peter writes: It fixed one incorrect value issue for cdns ssp driver * tag 'usb-v5.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb: usb: cdnsp: Fixes incorrect value in ISOC TRB
2 parents 132da01 + d0dcd90 commit eb9238e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/usb/cdns3/cdnsp-ring.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,10 @@ static int cdnsp_queue_isoc_tx(struct cdnsp_device *pdev,
21972197
* inverted in the first TDs isoc TRB.
21982198
*/
21992199
field = TRB_TYPE(TRB_ISOC) | TRB_TLBPC(last_burst_pkt) |
2200-
start_cycle ? 0 : 1 | TRB_SIA | TRB_TBC(burst_count);
2200+
TRB_SIA | TRB_TBC(burst_count);
2201+
2202+
if (!start_cycle)
2203+
field |= TRB_CYCLE;
22012204

22022205
/* Fill the rest of the TRB fields, and remaining normal TRBs. */
22032206
for (i = 0; i < trbs_per_td; i++) {

0 commit comments

Comments
 (0)