aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/spear
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-17 14:46:45 +0200
committerStephen Boyd <sboyd@codeaurora.org>2017-04-19 09:27:52 -0700
commit1b21401307a6a705688faf1bc9e6e02663708ec1 (patch)
tree0657bf4c276631abb4bf8533648d989a2e250310 /drivers/clk/spear
parentclk: mediatek: add clk support for MT6797 (diff)
downloadwireguard-linux-1b21401307a6a705688faf1bc9e6e02663708ec1.tar.xz
wireguard-linux-1b21401307a6a705688faf1bc9e6e02663708ec1.zip
clk: spear: fix ADC clock definition on SPEAr600
There is no SPEAr600 device named "adc". Instead, the description of the ADC was recently added to the Device Tree, and the device name is "d820b000.adc", so we should associate the ADC gatable clock to this device name. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/spear')
-rw-r--r--drivers/clk/spear/spear6xx_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
index 7c9383c3c2c6..f911d9f77763 100644
--- a/drivers/clk/spear/spear6xx_clock.c
+++ b/drivers/clk/spear/spear6xx_clock.c
@@ -313,7 +313,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
/* clock derived from apb clk */
clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
ADC_CLK_ENB, 0, &_lock);
- clk_register_clkdev(clk, NULL, "adc");
+ clk_register_clkdev(clk, NULL, "d820b000.adc");
clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
clk_register_clkdev(clk, NULL, "f0100000.gpio");