summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Sharma <rahsha@codeaurora.org>2018-05-17 15:19:18 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-29 00:52:29 -0700
commit3b14ab6fc0a43438f575b6abee1e26d96b92f403 (patch)
treedb815c791cc4589d4a21ec1fe3f243deb895a087
parent35a96b68f7fec2eefc52b4a20b0b8f5b5da0be99 (diff)
clk: msm: clock-mmss-8996: disable cache based clk rate
Use flag CLKFLAG_NO_RATE_CACHE for RCG and branch clock for mdss_extpclk_clk used for HDMI interface. Using this flag will allow the clock framework to calculate rate again and not depend on the cached rates. Change-Id: I88f8924074a23e5a6fd48ce6243c7db89580109b Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
-rw-r--r--drivers/clk/msm/clock-mmss-8996.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/clk/msm/clock-mmss-8996.c b/drivers/clk/msm/clock-mmss-8996.c
index 91c871cae225..30169d3f3a98 100644
--- a/drivers/clk/msm/clock-mmss-8996.c
+++ b/drivers/clk/msm/clock-mmss-8996.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2016, 2018 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -1517,6 +1517,7 @@ static struct rcg_clk extpclk_clk_src = {
.dbg_name = "extpclk_clk_src",
.parent = &ext_extpclk_clk_src.c,
.ops = &clk_ops_byte,
+ .flags = CLKFLAG_NO_RATE_CACHE,
VDD_DIG_FMAX_MAP3(LOWER, 150000000, LOW, 300000000,
NOMINAL, 600000000),
CLK_INIT(extpclk_clk_src.c),
@@ -2532,6 +2533,7 @@ static struct branch_clk mdss_extpclk_clk = {
.dbg_name = "mdss_extpclk_clk",
.parent = &extpclk_clk_src.c,
.ops = &clk_ops_branch,
+ .flags = CLKFLAG_NO_RATE_CACHE,
CLK_INIT(mdss_extpclk_clk.c),
},
};