]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: sunxi-ng: fix PRCM CCU ir clk parent
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 7 Apr 2017 16:19:03 +0000 (00:19 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 10 Apr 2017 07:04:23 +0000 (09:04 +0200)
The first parent of ir clk in PRCM CCU is wrongly written as "osc32K"
instead of "osc32k".

Change it to "osc32k".

Fixes: cdb8b80b6093 ("clk: sunxi-ng: add support for PRCM CCUs")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu-sun8i-r.c

index 0d027d53dbdf36a335fdb0f9c35664f307bb4d96..119f47b568eaefea2cb2a6f8fa8ae6ecd4acdb0e 100644 (file)
@@ -81,7 +81,7 @@ static SUNXI_CCU_GATE(apb0_i2c_clk,   "apb0-i2c",     "apb0",
 static SUNXI_CCU_GATE(apb0_twd_clk,    "apb0-twd",     "apb0",
                      0x28, BIT(7), 0);
 
-static const char * const r_mod0_default_parents[] = { "osc32K", "osc24M" };
+static const char * const r_mod0_default_parents[] = { "osc32k", "osc24M" };
 static SUNXI_CCU_MP_WITH_MUX_GATE(ir_clk, "ir",
                                  r_mod0_default_parents, 0x54,
                                  0, 4,         /* M */