clk: sunxi-ng: mult: Fix minimum in round rate
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 21 Jan 2017 22:41:56 +0000 (23:41 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Jan 2017 10:44:48 +0000 (11:44 +0100)
commitc9520be3839063bbb50aabec531cc0d0b8595564
tree86472a207ff2c955cdc0889d29ad29c99b07081d
parente66f81bbd7464621215219b72a0523f1b1078fae
clk: sunxi-ng: mult: Fix minimum in round rate

The previous code was always taking 1 as the minimum in it's round_rate
function, ignoring entirely what was set as minimum in the clock
definition.

Make sure that's not the case anymore.

Fixes: 2beaa601c849 ("clk: sunxi-ng: Implement minimum for multipliers")
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_mult.c