Skip to content

Commit 603a0c8

Browse files
Mylène Josserandmripard
authored andcommitted
clk: sunxi-ng: a33: Add CLK_SET_RATE_PARENT to ac-dig
The audio DAI needs to set the clock rates of the ac-dig clock. To make it possible, the parent PLL audio clock rates should also be changed. This is possible via "CLK_SET_RATE_PARENT" flag. Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
1 parent 7042125 commit 603a0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi-ng/ccu-sun8i-a33.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ static SUNXI_CCU_M_WITH_GATE(ve_clk, "ve", "pll-ve",
440440
0x13c, 16, 3, BIT(31), CLK_SET_RATE_PARENT);
441441

442442
static SUNXI_CCU_GATE(ac_dig_clk, "ac-dig", "pll-audio",
443-
0x140, BIT(31), 0);
443+
0x140, BIT(31), CLK_SET_RATE_PARENT);
444444
static SUNXI_CCU_GATE(ac_dig_4x_clk, "ac-dig-4x", "pll-audio-4x",
445445
0x140, BIT(30), 0);
446446
static SUNXI_CCU_GATE(avs_clk, "avs", "osc24M",

0 commit comments

Comments
 (0)