Re: [PATCH AUTOSEL for 4.15 048/189] clk: ingenic: Fix recalc_rate for clocks with fixed divider

From: James Hogan
Date: Mon Apr 09 2018 - 16:12:55 EST


On Mon, Apr 09, 2018 at 12:17:24AM +0000, Sasha Levin wrote:
> From: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
>
> [ Upstream commit e6cfa64375d34a6c8c1861868a381013b2d3b921 ]
>
> Previously, the clocks with a fixed divider would report their rate
> as being the same as the one of their parent, independently of the
> divider in use. This commit fixes this behaviour.
>
> This went unnoticed as neither the jz4740 nor the jz4780 CGU code
> have clocks with fixed dividers yet.

FYI this one isn't strictly necessary for backport since JZ4770 support
is new in 4.16, but its probably harmless too.

Cheers
James

Attachment: signature.asc
Description: Digital signature