Commit f9c5d636 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Vinod Koul
Browse files

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


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 09a19fb7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -471,9 +471,9 @@ static void airoha_pcie_phy_init_csr_2l(struct airoha_pcie_phy *pcie_phy)
				 PCIE_SW_XFI_RXPCS_RST | PCIE_SW_REF_RST |
				 PCIE_SW_RX_RST);
	airoha_phy_pma0_set_bits(pcie_phy, REG_PCIE_PMA_TX_RESET,
				 PCIE_TX_TOP_RST | REG_PCIE_PMA_TX_RESET);
				 PCIE_TX_TOP_RST | PCIE_TX_CAL_RST);
	airoha_phy_pma1_set_bits(pcie_phy, REG_PCIE_PMA_TX_RESET,
				 PCIE_TX_TOP_RST | REG_PCIE_PMA_TX_RESET);
				 PCIE_TX_TOP_RST | PCIE_TX_CAL_RST);
}

static void airoha_pcie_phy_init_rx(struct airoha_pcie_phy *pcie_phy)