summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/dispcc-sdm845.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2019-12-03 23:45:10 +0000
committerSumit Semwal <sumit.semwal@linaro.org>2020-05-07 19:01:34 +0530
commit54f4c514ca7988a6197bd08b0159282bb769c336 (patch)
treef02450df6ef712bc7ec3681ed58caf48d6c9f460 /drivers/clk/qcom/dispcc-sdm845.c
parent26a76e546b90e34d041c26e278dc9a4f7b3f1a8b (diff)
ANDROID: clk: qcom: Add sync_state = clk_sync_state for db845c clock providers
In order to utilize Saravana's new clk handling code, we need to set the sync_state functions to be clk_sync_state for the clock providers on db845c. This allows display to properly come up when trying to load the display driver as a module. Bug: 146449535 Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I722987fbaff045f80180aafb9176b75ed5f8cd03
Diffstat (limited to 'drivers/clk/qcom/dispcc-sdm845.c')
-rw-r--r--drivers/clk/qcom/dispcc-sdm845.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/dispcc-sdm845.c b/drivers/clk/qcom/dispcc-sdm845.c
index 5c932cd17b14..11e03f7fae09 100644
--- a/drivers/clk/qcom/dispcc-sdm845.c
+++ b/drivers/clk/qcom/dispcc-sdm845.c
@@ -3,6 +3,7 @@
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*/
+#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/module.h>
#include <linux/platform_device.h>
@@ -878,6 +879,7 @@ static struct platform_driver disp_cc_sdm845_driver = {
.driver = {
.name = "disp_cc-sdm845",
.of_match_table = disp_cc_sdm845_match_table,
+ .sync_state = clk_sync_state,
},
};