Skip to content

Commit f9c5d63

Browse files
LorenzoBianconivinodkoul
authored andcommitted
phy: airoha: Fix REG_PCIE_PMA_TX_RESET config in airoha_pcie_phy_init_csr_2l()
Fix typos configuring REG_PCIE_PMA_TX_RESET register in airoha_pcie_phy_init_csr_2l routine for lane0 and lane1 Fixes: d7d2818 ("phy: airoha: Add PCIe PHY driver for EN7581 SoC.") Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 09a19fb commit f9c5d63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/phy/phy-airoha-pcie.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ static void airoha_pcie_phy_init_csr_2l(struct airoha_pcie_phy *pcie_phy)
471471
PCIE_SW_XFI_RXPCS_RST | PCIE_SW_REF_RST |
472472
PCIE_SW_RX_RST);
473473
airoha_phy_pma0_set_bits(pcie_phy, REG_PCIE_PMA_TX_RESET,
474-
PCIE_TX_TOP_RST | REG_PCIE_PMA_TX_RESET);
474+
PCIE_TX_TOP_RST | PCIE_TX_CAL_RST);
475475
airoha_phy_pma1_set_bits(pcie_phy, REG_PCIE_PMA_TX_RESET,
476-
PCIE_TX_TOP_RST | REG_PCIE_PMA_TX_RESET);
476+
PCIE_TX_TOP_RST | PCIE_TX_CAL_RST);
477477
}
478478

479479
static void airoha_pcie_phy_init_rx(struct airoha_pcie_phy *pcie_phy)

0 commit comments

Comments
 (0)