]> git.baikalelectronics.ru Git - uboot.git/commit
clk: renesas: Pass clock rate around as 64bit number internally
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 31 May 2018 17:06:02 +0000 (19:06 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 1 Jun 2018 07:42:13 +0000 (09:42 +0200)
commitd1e0c90474eec257ec8f5eea46ffca60062afc77
tree17e9764522803d82ccfcf66cfadaabc74d9f9e56
parent6555dd9ae2bc6ca55c285d7a77b5d0b137df84aa
clk: renesas: Pass clock rate around as 64bit number internally

The PLL rate could be in the GHz range, which could overflow a 32bit
data type. Since the hardware is 64bit anyway, pass the clock rates
as 64bit number internally to avoid this.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/clk/renesas/clk-rcar-gen3.c