From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 1/2] ARM: tegra: fix overflow in tegra20_pll_clk_round_rate() Date: Tue, 11 Sep 2012 10:38:04 -0600 Message-ID: <504F68EC.3050606@wwwdotorg.org> References: <1347318758-7954-1-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1347318758-7954-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Stephen Warren , Prashant Gaikwad List-Id: linux-tegra@vger.kernel.org On 09/10/2012 05:12 PM, Stephen Warren wrote: > From: Stephen Warren > > 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 > Signed-off-by: Stephen Warren 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: swarren@wwwdotorg.org (Stephen Warren) Date: Tue, 11 Sep 2012 10:38:04 -0600 Subject: [PATCH 1/2] ARM: tegra: fix overflow in tegra20_pll_clk_round_rate() In-Reply-To: <1347318758-7954-1-git-send-email-swarren@wwwdotorg.org> References: <1347318758-7954-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <504F68EC.3050606@wwwdotorg.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/10/2012 05:12 PM, Stephen Warren wrote: > From: Stephen Warren > > 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 > Signed-off-by: Stephen Warren 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.