summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu_mux.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-17 09:40:34 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-06-07 15:32:13 +0200
commitea8edcded581ed9bd935ef7c575b0bf58eb56c82 (patch)
treeb83d69391cfe1359b0653e775e7a39b7374c72c7 /drivers/clk/sunxi-ng/ccu_mux.h
parent73e3e04fc009973d55a523ece1a7261ef7a089be (diff)
clk: sunxi-ng: mux: split out the pre-divider computation code
The pre-divider retrieval code was merged into the function to apply the current pre-divider onto the parent clock rate so that we can use that adjusted value to do our factors computation. However, since we'll need to do the reverse operation, we need to split out that code into a function that will be shared. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_mux.h')
0 files changed, 0 insertions, 0 deletions