Replanting xhci_port_status

This commit is contained in:
xj 2024-08-05 02:20:41 -07:00
parent ad027ba080
commit 2eba5a8071
1 changed files with 2 additions and 1 deletions

View File

@ -2650,7 +2650,8 @@ static void xhci_port_status ( struct xhci_host *xhci,
USB_ASSERT ( ( trb->port > 0 ) && ( trb->port <= xhci->ports ) );
/* Record disconnections, changes flag will be cleared later */
portsc = readl ( xhci->op + XHCI_OP_PORTSC ( trb->port ) );
// portsc = readl ( xhci->op + XHCI_OP_PORTSC ( trb->port ) );
portsc = readl ( xhci->op_addr + XHCI_OP_PORTSC ( trb->port ) );
xhci_dump_port_status(trb->port, portsc);
if (portsc & XHCI_PORTSC_CSC) {