Commit d35d3e2
usb: xhci: set Input Slot Context bit in xhci_fixup_endpoint
The Renesas uPD controller is a bit more picky about validating Configure
Endpoint TRBs and requires that bit 0 of the ADD field is 1.
This is mentioned in xhci v1.2 s4.6.6.
Also drop a redundant helper function and reject invalid endpoints.
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>1 parent e4e9f29 commit d35d3e2
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1541 | 1541 | | |
1542 | 1542 | | |
1543 | 1543 | | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1548 | 1549 | | |
1549 | 1550 | | |
1550 | 1551 | | |
| |||
1558 | 1559 | | |
1559 | 1560 | | |
1560 | 1561 | | |
1561 | | - | |
| 1562 | + | |
1562 | 1563 | | |
1563 | 1564 | | |
1564 | 1565 | | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
1565 | 1570 | | |
1566 | 1571 | | |
1567 | 1572 | | |
| |||
1622 | 1627 | | |
1623 | 1628 | | |
1624 | 1629 | | |
1625 | | - | |
1626 | | - | |
| 1630 | + | |
| 1631 | + | |
1627 | 1632 | | |
1628 | 1633 | | |
1629 | 1634 | | |
| |||
0 commit comments