From 2eba5a80717f65cea858e9259c8a827f13d7bb32 Mon Sep 17 00:00:00 2001 From: xj Date: Mon, 5 Aug 2024 02:20:41 -0700 Subject: [PATCH] Replanting xhci_port_status --- .../XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c index 6a92876be..6f803b3a0 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c @@ -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) {