From: Christian Marangi Date: Fri, 2 Aug 2024 13:53:09 +0000 (+0200) Subject: clk: mediatek: mt7981: fix wrong parent list for INFRA_PWM1_SEL mux X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=e568997faa9d9511852eafa020225d30cc0ba39a;p=u-boot.git clk: mediatek: mt7981: fix wrong parent list for INFRA_PWM1_SEL mux Fix wrong parent list for INFRA_PWM1_SEL mux. The list is incorrect and the parents are just 2. This also match the upstream linux implementation. Signed-off-by: Christian Marangi --- diff --git a/drivers/clk/mediatek/clk-mt7981.c b/drivers/clk/mediatek/clk-mt7981.c index 0ec5c94308..8b2e667c04 100644 --- a/drivers/clk/mediatek/clk-mt7981.c +++ b/drivers/clk/mediatek/clk-mt7981.c @@ -373,7 +373,7 @@ static const int infra_spi0_parents[] = { CK_INFRA_I2C, CK_INFRA_ISPI0 }; static const int infra_spi1_parents[] = { CK_INFRA_I2C, CK_INFRA_ISPI1 }; -static const int infra_pwm1_parents[] = { -1, -1, -1, CK_INFRA_PWM }; +static const int infra_pwm1_parents[] = {-1, CK_INFRA_PWM }; static const int infra_pwm_bsel_parents[] = { -1, -1, -1, CK_INFRA_PWM };