[PATCH 2/2] ARM: at91: clock: fix PLLA overclocked warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 I add this 4.5% to new value too.

Signed-off-by: Jiri Prchal <jiri.prchal@xxxxxxxxxxx>
---
 arch/arm/mach-at91/clock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index de2ec6b..e004308 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -707,7 +707,7 @@ static int __init at91_pmc_init(unsigned long main_clock)
 		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)
-- 
1.7.7


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter