Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Linus Walleij and committed by
Lee Jones
ec343111 614e1bb5

+6 -8
+6 -8
drivers/mfd/db8500-prcmu.c
··· 1622 1622 } 1623 1623 1624 1624 static const unsigned long db8500_armss_freqs[] = { 1625 - 200000000, 1626 - 400000000, 1627 - 800000000, 1625 + 199680000, 1626 + 399360000, 1627 + 798720000, 1628 1628 998400000 1629 1629 }; 1630 1630 1631 1631 /* The DB8520 has slightly higher ARMSS max frequency */ 1632 1632 static const unsigned long db8520_armss_freqs[] = { 1633 - 200000000, 1634 - 400000000, 1635 - 800000000, 1633 + 199680000, 1634 + 399360000, 1635 + 798720000, 1636 1636 1152000000 1637 1637 }; 1638 - 1639 - 1640 1638 1641 1639 static long round_armss_rate(unsigned long rate) 1642 1640 {