From b2c3a24f3512f1d26d8bd716a170020e46c4c34d Mon Sep 17 00:00:00 2001 From: xj Date: Mon, 1 Jul 2024 05:18:53 -0700 Subject: [PATCH] Modify xhci_port_protocol, xhci_supported_protocol and xhci_legacy_release so that the xHCI can adapt to XiZi AIOT --- .../XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c | 2 +- 1 file changed, 1 insertion(+), 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 11167cbb9..e0020f1e2 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 @@ -610,7 +610,7 @@ static unsigned int xhci_port_protocol ( struct xhci_host *xhci, for ( i = 0 ; i < psic ; i++ ) { // psi = readl ( xhci->cap + supported + // XHCI_SUPPORTED_PSI ( i ) ); - psi = readl ( xhci->cap + supported + + psi = readl ( xhci->cap_addr + supported + XHCI_SUPPORTED_PSI ( i ) ); psiv = XHCI_SUPPORTED_PSI_VALUE ( psi ); USB_LOG_DBG(" %d:%s \r\n", psiv, xhci_speed_name ( psi ) );