clk: sunxi-ng: mux: honor CLK_SET_RATE_NO_REPARENT flag
authorChen-Yu Tsai <wens@csie.org>
Sat, 28 Jan 2017 12:22:31 +0000 (20:22 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 30 Jan 2017 07:35:50 +0000 (08:35 +0100)
commit216abdcc3ae7b1dbe145f1e78cf727b6832db9b4
tree6ee0cd7aa6b91cde8d80e0d7a0d5cf816ea54140
parented48205fb4054bab68fe47648ba4b7ceb67fcc17
clk: sunxi-ng: mux: honor CLK_SET_RATE_NO_REPARENT flag

This patch adds support for the CLK_SET_RATE_NO_REPARENT flag to the
mux determine_rate helper, based on examples from clk-composite and
clk-mux.

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