Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b14ab6f authored by Rahul Sharma's avatar Rahul Sharma Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarRahul Sharma <rahsha@codeaurora.org>
parent 35a96b68
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* 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),
	},
};