Skip to contentSkip to conversation

clock: at91: fix PLLA overclocked warning

PATCH New Prchal Jiří 1 participant 1 message Jun 20, 2012 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clock: at91: fix PLLA overclocked warning

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.

---

linux-3.5-rc3/arch/arm/mach-at91/clock.c renamed from linux-3.5-rc3/arch/arm/mach-at91/clock.c.orig +1 -1
@@ -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)