2024-05-16 07:31:36

by Xianwei Zhao

[permalink] [raw]
Subject: [PATCH] clk: meson: s4: fix pwm_j_div parent clock

Update peripherals pwm_j_div's parent clock to pwm_j_mux

Fixes: 57b55c76aaf1 ("clk: meson: S4: add support for Amlogic S4 SoC peripheral clock controller")
Signed-off-by: Xianwei Zhao <[email protected]>
---
drivers/clk/meson/s4-peripherals.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/meson/s4-peripherals.c b/drivers/clk/meson/s4-peripherals.c
index 6c35de3d536f..75a84e4cc2df 100644
--- a/drivers/clk/meson/s4-peripherals.c
+++ b/drivers/clk/meson/s4-peripherals.c
@@ -2978,7 +2978,7 @@ static struct clk_regmap s4_pwm_j_div = {
.name = "pwm_j_div",
.ops = &clk_regmap_divider_ops,
.parent_hws = (const struct clk_hw *[]) {
- &s4_pwm_h_mux.hw
+ &s4_pwm_j_mux.hw
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
--
2.39.2



2024-06-03 13:26:08

by Jerome Brunet

[permalink] [raw]
Subject: Re: [PATCH] clk: meson: s4: fix pwm_j_div parent clock

Applied to clk-meson (v6.11/drivers), thanks!

[1/1] clk: meson: s4: fix pwm_j_div parent clock
https://github.com/BayLibre/clk-meson/commit/c591745831e7

Best regards,
--
Jerome