]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
authorChen-Yu Tsai <wens@csie.org>
Fri, 29 Sep 2017 08:22:54 +0000 (16:22 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 29 Sep 2017 08:46:17 +0000 (10:46 +0200)
The HDMI DDC clock found in the CCU is the parent of the actual DDC
clock within the HDMI controller. That clock is also named "hdmi-ddc".

Rename the one in the CCU to "ddc". This makes more sense than renaming
the one in the HDMI controller to something else.

Fixes: c6e6c96d8fa6 ("clk: sunxi-ng: Add A31/A31s clocks")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu-sun6i-a31.c

index 8af434815fba9f284154c92aa7dc55e26ec96981..241fb13f1c06126a30e662f8a0d5161373d3a635 100644 (file)
@@ -608,7 +608,7 @@ static SUNXI_CCU_M_WITH_MUX_GATE(hdmi_clk, "hdmi", lcd_ch1_parents,
                                 0x150, 0, 4, 24, 2, BIT(31),
                                 CLK_SET_RATE_PARENT);
 
-static SUNXI_CCU_GATE(hdmi_ddc_clk, "hdmi-ddc", "osc24M", 0x150, BIT(30), 0);
+static SUNXI_CCU_GATE(hdmi_ddc_clk, "ddc", "osc24M", 0x150, BIT(30), 0);
 
 static SUNXI_CCU_GATE(ps_clk, "ps", "lcd1-ch1", 0x140, BIT(31), 0);