]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ath79: Fix the ar913x reference clock rate
authorAlban Bedel <albeu@free.fr>
Thu, 17 Mar 2016 03:34:10 +0000 (06:34 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 3 Apr 2016 10:32:10 +0000 (12:32 +0200)
commit3fe62074fd20ee418004f0e8070a7991b1c471a8
tree657a4ea42ae790d3a2ec9b624ceb7dc1ce902bcf
parent43364503e359fbd621551eda564f36c8c33c1669
MIPS: ath79: Fix the ar913x reference clock rate

The reference clock on ar913x is at 40MHz and not 5MHz. The current
implementation use the wrong reference rate because it doesn't take
the PLL divider in account. But if we fix the code to use the divider
it becomes identical with the implementation for ar724x, so just drop
the broken ar913x implementation.

Signed-off-by: Alban Bedel <albeu@free.fr>
Tested-by: Antony Pavlov <antonynpavlov@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12871/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/clock.c