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
ac3527bbc2
commit
b2c3a24f35
|
@ -610,7 +610,7 @@ static unsigned int xhci_port_protocol ( struct xhci_host *xhci,
|
||||||
for ( i = 0 ; i < psic ; i++ ) {
|
for ( i = 0 ; i < psic ; i++ ) {
|
||||||
// psi = readl ( xhci->cap + supported +
|
// psi = readl ( xhci->cap + supported +
|
||||||
// XHCI_SUPPORTED_PSI ( i ) );
|
// XHCI_SUPPORTED_PSI ( i ) );
|
||||||
psi = readl ( xhci->cap + supported +
|
psi = readl ( xhci->cap_addr + supported +
|
||||||
XHCI_SUPPORTED_PSI ( i ) );
|
XHCI_SUPPORTED_PSI ( i ) );
|
||||||
psiv = XHCI_SUPPORTED_PSI_VALUE ( psi );
|
psiv = XHCI_SUPPORTED_PSI_VALUE ( psi );
|
||||||
USB_LOG_DBG(" %d:%s \r\n", psiv, xhci_speed_name ( psi ) );
|
USB_LOG_DBG(" %d:%s \r\n", psiv, xhci_speed_name ( psi ) );
|
||||||
|
|
Loading…
Reference in New Issue