summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/clk-rcg.h
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2019-10-14 12:23:04 +0200
committerStephen Boyd <sboyd@kernel.org>2019-11-07 22:10:44 +0100
commit1a1c78217a779eadc6ef75d0dfb5f33088c6b481 (patch)
tree40e341d0e7f4404822710f65c76c23457de64101 /drivers/clk/qcom/clk-rcg.h
parentclk: qcom: remove unneeded semicolon (diff)
downloadlinux-1a1c78217a779eadc6ef75d0dfb5f33088c6b481.tar.xz
linux-1a1c78217a779eadc6ef75d0dfb5f33088c6b481.zip
clk: qcom: rcg: update the DFS macro for RCG
Update the init data name for each of the dynamic frequency switch controlled clock associated with the RCG clock name, so that it can be generated as per the hardware plan. Thus update the macro accordingly. Signed-off-by: Taniya Das <tdas@codeaurora.org> Link: https://lkml.kernel.org/r/20191014102308.27441-2-tdas@codeaurora.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/clk-rcg.h')
-rw-r--r--drivers/clk/qcom/clk-rcg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h
index c25b57c3cbc8..78358b81d249 100644
--- a/drivers/clk/qcom/clk-rcg.h
+++ b/drivers/clk/qcom/clk-rcg.h
@@ -168,7 +168,7 @@ struct clk_rcg_dfs_data {
};
#define DEFINE_RCG_DFS(r) \
- { .rcg = &r##_src, .init = &r##_init }
+ { .rcg = &r, .init = &r##_init }
extern int qcom_cc_register_rcg_dfs(struct regmap *regmap,
const struct clk_rcg_dfs_data *rcgs,