diff options
author | John Stultz <john.stultz@linaro.org> | 2019-12-03 23:45:10 +0000 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2021-05-17 13:18:44 +0530 |
commit | f42a4a0c40149c3535e9cd549b99def2b4f48308 (patch) | |
tree | 1d6de745c3e5921740fb65e611c6a0c0ade7312d /drivers/clk/qcom/dispcc-sdm845.c | |
parent | 5187e453a0f5324c40de28d7df8e201d2ef13c24 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/dispcc-sdm845.c b/drivers/clk/qcom/dispcc-sdm845.c index 735adfefc379..414ffb6feb02 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> @@ -869,6 +870,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, }, }; |