clk: sunxi-ng: mux: Get closest parent rate possible with CLK_SET_RATE_PARENT
authorChen-Yu Tsai <wens@csie.org>
Sat, 28 Jan 2017 12:22:32 +0000 (20:22 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 30 Jan 2017 07:36:03 +0000 (08:36 +0100)
commit82aab516ec96ab9f9ad4b80a0bab9368b1cd5cdc
tree53badf37c67f472b3505f012681c764a2667e4a9
parent216abdcc3ae7b1dbe145f1e78cf727b6832db9b4
clk: sunxi-ng: mux: Get closest parent rate possible with CLK_SET_RATE_PARENT

If the CLK_SET_RATE_PARENT flag is set, we want to try getting the
closest parent rate.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_mux.c