]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks
authorChen-Yu Tsai <wens@csie.org>
Fri, 11 Nov 2016 10:05:57 +0000 (18:05 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 11 Nov 2016 20:47:36 +0000 (21:47 +0100)
commit1013a51b2a2cf8053aec65f2fe3a06dfc326fc97
tree0ee790917b45007bb2cf000f4ac691305d939087
parent32edbe9b2b3f32672b848fd58252bc30e5c254b6
clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks

The audio module clocks are supposed to be set according to the sample
rate of the audio stream. The audio PLL provides the clock signal for
these module clocks, and only it is freely tunable.

Set CLK_SET_RATE_PARENT for the audio module clocks so their users can
properly tune the clock rate.

Fixes: 48fb9bf7eb63 ("clk: sunxi-ng: Add A23 CCU")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu-sun8i-a23.c