Modify xhci_port_protocol, xhci_supported_protocol and xhci_legacy_release so that the xHCI can adapt to XiZi AIOT

This commit is contained in:
xj 2024-07-01 05:18:53 -07:00
parent ac3527bbc2
commit b2c3a24f35
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );