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)
commit937ff9ded8b6ebe8963ade55bdd77a61ded88075
tree0ee790917b45007bb2cf000f4ac691305d939087
parentc6a0637460c29799f1e63a6a4a65bda22caf4a54
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: 5690879d93e8 ("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