Skip to content

Commit 7566508

Browse files
Andre-ARMmripard
authored andcommitted
clk: sunxi-ng: h6: Fix CEC clock
The CEC clock on the H6 SoC is a bit special, since it uses a fixed pre-dividier for one source clock (the PLL), but conveys the other clock (32K OSC) directly. We are using a fixed predivider array for that, but fail to use the right flag to actually activate that. Fixes: 524353e ("clk: sunxi-ng: add support for the Allwinner H6 CCU") Reported-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210106143246.11255-1-andre.przywara@arm.com
1 parent 0482a4e commit 7566508

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/sunxi-ng/ccu-sun50i-h6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ static struct ccu_mux hdmi_cec_clk = {
682682

683683
.common = {
684684
.reg = 0xb10,
685-
.features = CCU_FEATURE_VARIABLE_PREDIV,
685+
.features = CCU_FEATURE_FIXED_PREDIV,
686686
.hw.init = CLK_HW_INIT_PARENTS("hdmi-cec",
687687
hdmi_cec_parents,
688688
&ccu_mux_ops,

0 commit comments

Comments
 (0)