[PATCH 1/2] ARM: tegra: fix overflow in tegra20_pll_clk_round_rate()

Stephen Warren swarren at wwwdotorg.org
Tue Sep 11 12:38:04 EDT 2012


On 09/10/2012 05:12 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> 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 at nvidia.com>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

I've applied the series to Tegra's for-3.7/common-clk branch, since both
patches fix issues triggered by the common clock conversion.




More information about the linux-arm-kernel mailing list