[PATCH 1/4] clk: sunxi-ng: Fix fractional mode for N-M clocks
Chen-Yu Tsai
wens at csie.org
Sun Jul 30 21:54:53 PDT 2017
On Mon, Jul 31, 2017 at 12:41 AM, Jernej Skrabec
<jernej.skrabec at siol.net> 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 value and clk_set_rate() returns
> without error.
>
> Fixes: 6174a1e24b0d ("clk: sunxi-ng: Add N-M-factor clock support")
> CC: Maxime Ripard <maxime.ripard at free-electrons.com>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>
Queued as a fix for 4.13.
ChenYu
More information about the linux-arm-kernel
mailing list