Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: d7d2818b9383 ("phy: airoha: Add PCIe PHY driver for EN7581 SoC.")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/20240918-airoha-en7581-phy-fixes-v1-2-8291729a87f8@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Lorenzo Bianconi and committed by
Vinod Koul
f9c5d636 09a19fb7

+2 -2
+2 -2
drivers/phy/phy-airoha-pcie.c
··· 471 471 PCIE_SW_XFI_RXPCS_RST | PCIE_SW_REF_RST | 472 472 PCIE_SW_RX_RST); 473 473 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); 475 475 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); 477 477 } 478 478 479 479 static void airoha_pcie_phy_init_rx(struct airoha_pcie_phy *pcie_phy)