]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
authorTerry Zhou <bjzhou@marvell.com>
Fri, 6 Nov 2020 10:00:39 +0000 (11:00 +0100)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:48:07 +0000 (16:48 +0100)
commit722827bcafc1cf7f181a24bea12f5f60aea3dacc
treef8663e91e9e1d8c22b9151ab0204af9ce203a433
parentcf55ed407d0283e6931732b21a40f6bae4071a60
clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9

BugLink: https://bugs.launchpad.net/bugs/1910111
commit 6f37689cf6b38fff96de52e7f0d3e78f22803ba0 upstream.

There is an error in the current code that the XTAL MODE
pin was set to NB MPP1_31 which should be NB MPP1_9.
The latch register of NB MPP1_9 has different offset of 0x8.

Signed-off-by: Terry Zhou <bjzhou@marvell.com>
[pali: Fix pin name in commit message]
Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 7ea8250406a6 ("clk: mvebu: Add the xtal clock for Armada 3700 SoC")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201106100039.11385-1-pali@kernel.org
Reviewed-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/clk/mvebu/armada-37xx-xtal.c