Messages in this thread | | | Date | Thu, 8 Feb 2018 09:03:35 +0100 | From | Maxime Ripard <> | Subject | Re: [PATCH v4 02/12] clk: sunxi-ng: Use u64 for calculation of nkmp rate |
| |
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 <jernej.skrabec@siol.net>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Thanks! Maxime
-- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com [unhandled content-type:application/pgp-signature] | |