From: Christian Marangi Date: Sat, 3 Aug 2024 08:40:37 +0000 (+0200) Subject: clk: mediatek: mt7986: fix wrong parent for INFRA_ADC_26M_CK X-Git-Url: http://git.dujemihanovic.xyz/img/%22http:/www.sics.se/static/gitweb.css?a=commitdiff_plain;h=6267725ccc179c9a856acf00038ce3c27423c498;p=u-boot.git clk: mediatek: mt7986: fix wrong parent for INFRA_ADC_26M_CK 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 --- diff --git a/drivers/clk/mediatek/clk-mt7986.c b/drivers/clk/mediatek/clk-mt7986.c index 72300d8088..cb4d20a204 100644 --- a/drivers/clk/mediatek/clk-mt7986.c +++ b/drivers/clk/mediatek/clk-mt7986.c @@ -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),