forked from xuos/xiuos
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:
parent
e30c4e662f
commit
ac3527bbc2
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue