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:03:28 -07:00
parent e30c4e662f
commit ac3527bbc2
1 changed files with 2 additions and 1 deletions

View File

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