forked from xuos/xiuos
Replanting xhci_port_status
This commit is contained in:
parent
ad027ba080
commit
2eba5a8071
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue