linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]  clock: at91: fix PLLA overclocked warning
@ 2012-06-20  8:36 Prchal Jiří
  0 siblings, 0 replies; only message in thread
From: Prchal Jiří @ 2012-06-20  8:36 UTC (permalink / raw)
  To: linux-arm-kernel

This patch fix false warning "PLLA overclocked". Maximum frequency for sam9260 is 210MHz as stated in atmel's datasheet. 
Originally there was plus 4.5%, so add this 4.5% to new value too.

Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
---

--- linux/linux-3.5-rc3/arch/arm/mach-at91/clock.c.orig	2012-06-17 02:25:17.000000000 +0200
+++ linux/linux-3.5-rc3/arch/arm/mach-at91/clock.c	2012-06-20 10:26:34.076174379 +0200
@@ -707,7 +707,7 @@ static int __init at91_pmc_init(unsigned
  		if (plla.rate_hz > 800000000)
  			pll_overclock = true;
  	} else {
-		if (plla.rate_hz > 209000000)
+		if (plla.rate_hz > 219000000)
  			pll_overclock = true;
  	}
  	if (pll_overclock)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-20  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20  8:36 [PATCH] clock: at91: fix PLLA overclocked warning Prchal Jiří

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).