Thread (15 messages) 15 messages, 3 authors, 2018-02-13

[PATCH v4 02/12] clk: sunxi-ng: Use u64 for calculation of nkmp rate

From: Maxime Ripard <hidden>
Date: 2018-02-08 08:03:39
Also in: dri-devel, linux-clk, linux-devicetree, lkml

On Wed, Feb 07, 2018 at 10:17:03PM +0100, Jernej Skrabec wrote:
When parent rate is 24MHz and multiplier N >= 180, intermediate clock
rate doesn't fit in 32 bit variable anymore.

Because of that, introduce function for calculating clock rate which
uses 64 bit variable for intermediate result.

Signed-off-by: Jernej Skrabec <redacted>
Acked-by: Maxime Ripard <redacted>

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180208/7308bd8c/attachment-0001.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help