summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Nischal <anischal@codeaurora.org>2017-01-03 10:10:46 +0530
committerAmit Nischal <anischal@codeaurora.org>2017-01-03 11:25:05 +0530
commit2a3719057c19b745762f4af73112db141bb04162 (patch)
tree5795d678f9957402512137fcabe90522759e2abb
parent5d81681e1efd7a80f897b30216a3db15674e5684 (diff)
clk: qcom: Remove mmssnoc_a_clk_cpu_vote clock instance for msm8996
mmssnoc_a_clk_cpu_vote clock is not required on msm8996, so remove the clock instance for the same. Change-Id: Ibf1cbb9dc67c9255df09c32a67c320f8bb3ecbc7 Signed-off-by: Amit Nischal <anischal@codeaurora.org>
-rw-r--r--drivers/clk/qcom/clk-smd-rpm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c
index 9015d505f4dc..79db93ac5ae1 100644
--- a/drivers/clk/qcom/clk-smd-rpm.c
+++ b/drivers/clk/qcom/clk-smd-rpm.c
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2016, Linaro Limited
- * Copyright (c) 2014, 2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014, 2016-2017, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -591,8 +591,6 @@ static DEFINE_CLK_VOTER(pnoc_msmbus_clk, pnoc_clk, LONG_MAX);
static DEFINE_CLK_VOTER(pnoc_msmbus_a_clk, pnoc_a_clk, LONG_MAX);
static DEFINE_CLK_VOTER(pnoc_pm_clk, pnoc_clk, LONG_MAX);
static DEFINE_CLK_VOTER(pnoc_sps_clk, pnoc_clk, 0);
-static DEFINE_CLK_VOTER(mmssnoc_a_clk_cpu_vote, mmssnoc_axi_rpm_a_clk,
- 19200000);
static DEFINE_CLK_VOTER(mmssnoc_a_cpu_clk, mmssnoc_axi_a_clk,
19200000);
@@ -667,7 +665,6 @@ static struct clk_hw *msm8996_clks[] = {
[CXO_OTG_CLK] = &cxo_otg_clk.hw,
[CXO_PIL_LPASS_CLK] = &cxo_pil_lpass_clk.hw,
[CXO_PIL_SSC_CLK] = &cxo_pil_ssc_clk.hw,
- [MMSSNOC_A_CLK_CPU_VOTE] = &mmssnoc_a_clk_cpu_vote.hw
};
static const struct rpm_smd_clk_desc rpm_clk_msm8996 = {
@@ -879,8 +876,6 @@ static int rpm_smd_clk_probe(struct platform_device *pdev)
/* Hold an active set vote for the pnoc_keepalive_a_clk */
clk_set_rate(pnoc_keepalive_a_clk.hw.clk, 19200000);
clk_prepare_enable(pnoc_keepalive_a_clk.hw.clk);
-
- clk_prepare_enable(mmssnoc_a_clk_cpu_vote.hw.clk);
} else if (is_660) {
clk_prepare_enable(sdm660_cxo_a.hw.clk);