Skip to content

Commit 0069c0e

Browse files
jbrun3tgregkh
authored andcommitted
clk: amlogic: gxbb: drop incorrect flag on 32k clock
[ Upstream commit f38f7fe ] gxbb_32k_clk_div sets CLK_DIVIDER_ROUND_CLOSEST in the init_data flag which is incorrect. This is field is not where the divider flags belong. Thankfully, CLK_DIVIDER_ROUND_CLOSEST maps to bit 4 which is an unused clock flag, so there is no unintended consequence to this error. Effectively, the clock has been used without CLK_DIVIDER_ROUND_CLOSEST so far, so just drop it. Fixes: 14c735c ("clk: meson-gxbb: Add EE 32K Clock for CEC") Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/20241220-amlogic-clk-gxbb-32k-fixes-v1-1-baca56ecf2db@baylibre.com Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 46ea029 commit 0069c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/meson/gxbb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ static struct clk_regmap gxbb_32k_clk_div = {
13121312
&gxbb_32k_clk_sel.hw
13131313
},
13141314
.num_parents = 1,
1315-
.flags = CLK_SET_RATE_PARENT | CLK_DIVIDER_ROUND_CLOSEST,
1315+
.flags = CLK_SET_RATE_PARENT,
13161316
},
13171317
};
13181318

0 commit comments

Comments
 (0)