ARM: tegra30: clk: Fix output_rate overflow
authorMark Zhang <markz@nvidia.com>
Tue, 16 Oct 2012 08:31:49 +0000 (16:31 +0800)
committerStephen Warren <swarren@nvidia.com>
Tue, 16 Oct 2012 17:14:34 +0000 (11:14 -0600)
commit786621308cfbb9421a54773e57dbdbe504c417cc
tree19ae13afa378872be16f842edcdb4761f1159d8b
parentddffeb8c4d0331609ef2581d84de4d763607bd37
ARM: tegra30: clk: Fix output_rate overflow

Change the type of variable from "unsigned long" to "u64".
This avoids the overflow while clock rate calculating.

Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/tegra30_clocks.c