Commit 2395c15
committed
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 56dcdfe commit 2395c15
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1549 | 1549 | | |
1550 | 1550 | | |
1551 | 1551 | | |
1552 | | - | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
1556 | 1557 | | |
1557 | 1558 | | |
1558 | 1559 | | |
| |||
1566 | 1567 | | |
1567 | 1568 | | |
1568 | 1569 | | |
1569 | | - | |
| 1570 | + | |
1570 | 1571 | | |
1571 | 1572 | | |
1572 | 1573 | | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
1573 | 1578 | | |
1574 | 1579 | | |
1575 | 1580 | | |
| |||
1630 | 1635 | | |
1631 | 1636 | | |
1632 | 1637 | | |
1633 | | - | |
1634 | | - | |
| 1638 | + | |
| 1639 | + | |
1635 | 1640 | | |
1636 | 1641 | | |
1637 | 1642 | | |
| |||
0 commit comments