You need to sign in or sign up before continuing.
提交 ec343111 编写于 作者: L Linus Walleij 提交者: Lee Jones

mfd: db8500-prcmu: Adjust map to reality

These are the actual frequencies reported by the PLL, so let's
report these. The roundoffs are inappropriate, we should round
to the frequency that the clock will later report.

Drop some whitespace at the same time.

Cc: phone-devel@vger.kernel.org
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 614e1bb5
...@@ -1622,22 +1622,20 @@ static long round_clock_rate(u8 clock, unsigned long rate) ...@@ -1622,22 +1622,20 @@ static long round_clock_rate(u8 clock, unsigned long rate)
} }
static const unsigned long db8500_armss_freqs[] = { static const unsigned long db8500_armss_freqs[] = {
200000000, 199680000,
400000000, 399360000,
800000000, 798720000,
998400000 998400000
}; };
/* The DB8520 has slightly higher ARMSS max frequency */ /* The DB8520 has slightly higher ARMSS max frequency */
static const unsigned long db8520_armss_freqs[] = { static const unsigned long db8520_armss_freqs[] = {
200000000, 199680000,
400000000, 399360000,
800000000, 798720000,
1152000000 1152000000
}; };
static long round_armss_rate(unsigned long rate) static long round_armss_rate(unsigned long rate)
{ {
unsigned long freq = 0; unsigned long freq = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册