summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2024-08-02 15:53:09 +0200
committerTom Rini <[email protected]>2024-08-19 16:13:13 -0600
commite568997faa9d9511852eafa020225d30cc0ba39a (patch)
treed7e870d9124b4958566022aa999193346511e2e3
parent02af9cad706c73d6dc3a66375db6f123a96fd5c7 (diff)
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 <[email protected]>
-rw-r--r--drivers/clk/mediatek/clk-mt7981.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mt7981.c b/drivers/clk/mediatek/clk-mt7981.c
index 0ec5c943081..8b2e667c049 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 };