]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf4c87b7a944adcc34f67a925d50889088fd87992
tree657a4ea42ae790d3a2ec9b624ceb7dc1ce902bcf
parentc338d59d12dc93c3287160acd7e726b56dc94f43
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