]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
phy: airoha: Fix REG_CSR_2L_JCPLL_SDM_HREN config in airoha_pcie_phy_init_ssc_jcpll()
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 18 Sep 2024 13:32:54 +0000 (15:32 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 17 Oct 2024 15:22:48 +0000 (20:52 +0530)
Fix typo configuring REG_CSR_2L_JCPLL_SDM_HREN register in
airoha_pcie_phy_init_ssc_jcpll routine.

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-3-8291729a87f8@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-airoha-pcie.c

index 9a7ce65f87f057dc060b2b8266d2b8ed6799dfd5..56e9ade8a9fd3d47ca73271c33ff14967f4ddb08 100644 (file)
@@ -802,7 +802,7 @@ static void airoha_pcie_phy_init_ssc_jcpll(struct airoha_pcie_phy *pcie_phy)
        airoha_phy_csr_2l_set_bits(pcie_phy, REG_CSR_2L_JCPLL_SDM_IFM,
                                   CSR_2L_PXP_JCPLL_SDM_IFM);
        airoha_phy_csr_2l_set_bits(pcie_phy, REG_CSR_2L_JCPLL_SDM_HREN,
-                                  REG_CSR_2L_JCPLL_SDM_HREN);
+                                  CSR_2L_PXP_JCPLL_SDM_HREN);
        airoha_phy_csr_2l_clear_bits(pcie_phy, REG_CSR_2L_JCPLL_RST_DLY,
                                     CSR_2L_PXP_JCPLL_SDM_DI_EN);
        airoha_phy_csr_2l_set_bits(pcie_phy, REG_CSR_2L_JCPLL_SSC,