Re: [PATCH 1/4] clk: sunxi-ng: Fix fractional mode for N-M clocks

2017-07-30 Thread Chen-Yu Tsai
On Mon, Jul 31, 2017 at 12:41 AM, Jernej Skrabec wrote: > N-M factor clock driver is missing a call to ccu_frac_helper_enable() > when fractional mode is used. Additionally, most SoCs require that M > factor must be set to 0 when fractional mode is used. > > Without this patch, clock keeps the old

[PATCH 1/4] clk: sunxi-ng: Fix fractional mode for N-M clocks

2017-07-30 Thread Jernej Skrabec
N-M factor clock driver is missing a call to ccu_frac_helper_enable() when fractional mode is used. Additionally, most SoCs require that M factor must be set to 0 when fractional mode is used. Without this patch, clock keeps the old value and clk_set_rate() returns without error. Fixes: 6174a1e24