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 292af3f2c..11167cbb9 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 @@ -522,7 +522,8 @@ static unsigned int xhci_supported_protocol ( struct xhci_host *xhci, supported ) ) ) { /* Determine port range */ - ports = readl ( xhci->cap + supported + XHCI_SUPPORTED_PORTS ); +// ports = readl ( xhci->cap + supported + XHCI_SUPPORTED_PORTS ); + ports = readl ( xhci->cap_addr + supported + XHCI_SUPPORTED_PORTS ); offset = XHCI_SUPPORTED_PORTS_OFFSET ( ports ); count = XHCI_SUPPORTED_PORTS_COUNT ( ports );