summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2018-02-14 21:08:56 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-15 14:40:24 +0100
commita5ebc3368ef7c77da5a03ad52834520a634a36ef (patch)
tree0997c61268d7a241b2c3036257de6793d0e535d8 /drivers/video
parentd897ef56faf9bdb36e931251d0b70b10ebb03a14 (diff)
downloadlwn-a5ebc3368ef7c77da5a03ad52834520a634a36ef.tar.gz
lwn-a5ebc3368ef7c77da5a03ad52834520a634a36ef.zip
clk: sunxi-ng: Use u64 for calculation of nkmp rate
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. Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions