summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/cpu-tegra.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-11 01:02:45 +0200
committerStephen Warren <swarren@nvidia.com>2012-09-11 18:05:55 +0200
commit7a74a4436b20980f8e19138e857bc7e39db5ad4b (patch)
tree6c82b601493c7622806a024da773c9e9fdcdd802 /arch/arm/mach-tegra/cpu-tegra.c
parentARM: tegra: Fix data type for io address (diff)
downloadlinux-7a74a4436b20980f8e19138e857bc7e39db5ad4b.tar.xz
linux-7a74a4436b20980f8e19138e857bc7e39db5ad4b.zip
ARM: tegra: fix overflow in tegra20_pll_clk_round_rate()
32-bit math isn't enough when e.g. *prate=12000000, and sel->n=1000. Use 64-bit math to prevent this. Cc: Prashant Gaikwad <pgaikwad@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.c')
0 files changed, 0 insertions, 0 deletions