From: jiri.prchal@aksignal.cz (Prchal Jiří)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clock: at91: fix PLLA overclocked warning
Date: Wed, 20 Jun 2012 10:36:47 +0200 [thread overview]
Message-ID: <4FE18B9F.1060409@aksignal.cz> (raw)
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)
reply other threads:[~2012-06-20 8:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FE18B9F.1060409@aksignal.cz \
--to=jiri.prchal@aksignal.cz \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).