Skip to content

Commit 5b33139

Browse files
xdarklightjbrun3t
authored andcommitted
clk: meson: meson8b: fix meson8b_cpu_clk parent clock name
meson8b_cpu_clk has two parent clocks: - meson8b_xtal - meson8b_cpu_scale_out_sel The name of the "xtal" clock parent is specified correctly. However, there is a typo in the name of the second parent clock. The meson8b_cpu_scale_out_sel definition uses the name "cpu_scale_out_sel" (which matches the name from the datasheet). However, the mux parent definition uses the name "cpu_out_sel" which does not match any existing clock. Fixes: 251b6fd ("clk: meson: rework meson8b cpu clock") Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Jerome Brunet <[email protected]>
1 parent b251e4c commit 5b33139

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/meson/meson8b.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,8 @@ static struct clk_regmap meson8b_cpu_clk = {
632632
.hw.init = &(struct clk_init_data){
633633
.name = "cpu_clk",
634634
.ops = &clk_regmap_mux_ro_ops,
635-
.parent_names = (const char *[]){ "xtal", "cpu_out_sel" },
635+
.parent_names = (const char *[]){ "xtal",
636+
"cpu_scale_out_sel" },
636637
.num_parents = 2,
637638
.flags = (CLK_SET_RATE_PARENT |
638639
CLK_SET_RATE_NO_REPARENT),

0 commit comments

Comments
 (0)