]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7986: fix wrong parent for INFRA_ADC_26M_CK
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 3 Aug 2024 08:40:37 +0000 (10:40 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:14:43 +0000 (16:14 -0600)
Fix wrong parent for INFRA_ADC_26M_CK as should be INFRA_ADC_FRC_CK
instead of INFRA_CK_F26M. This is to match implementation on upstream
kernel linux.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/clk/mediatek/clk-mt7986.c

index 72300d808846de10c2946122716507785536ed3a..cb4d20a204d13228e1c974119e606b85795ce639 100644 (file)
@@ -492,7 +492,7 @@ static const struct mtk_gate infracfg_ao_gates[] = {
                    CK_INFRA_PERI_133M, 18),
        GATE_INFRA1(CK_INFRA_MSDC_66M_CK, "infra_msdc_66m", CK_INFRA_66M_PHCK,
                    19),
-       GATE_INFRA1(CK_INFRA_ADC_26M_CK, "infra_adc_26m", CK_INFRA_CK_F26M, 20),
+       GATE_INFRA1(CK_INFRA_ADC_26M_CK, "infra_adc_26m", CK_INFRA_ADC_FRC_CK, 20),
        GATE_INFRA1(CK_INFRA_ADC_FRC_CK, "infra_adc_frc", CK_INFRA_CK_F26M, 21),
        GATE_INFRA1(CK_INFRA_FBIST2FPC_CK, "infra_fbist2fpc", CK_INFRA_NFI_CK,
                    23),