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
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/clk-provider.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/platform_device.h>
|
||||
@@ -666,6 +667,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,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -3078,6 +3078,7 @@ static struct platform_driver gcc_msm8998_driver = {
|
||||
.driver = {
|
||||
.name = "gcc-msm8998",
|
||||
.of_match_table = gcc_msm8998_match_table,
|
||||
.sync_state = clk_sync_state,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -3621,6 +3621,7 @@ static struct platform_driver gcc_sdm845_driver = {
|
||||
.driver = {
|
||||
.name = "gcc-sdm845",
|
||||
.of_match_table = gcc_sdm845_match_table,
|
||||
.sync_state = clk_sync_state,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -233,6 +233,7 @@ static struct platform_driver gpu_cc_sdm845_driver = {
|
||||
.driver = {
|
||||
.name = "sdm845-gpucc",
|
||||
.of_match_table = gpu_cc_sdm845_match_table,
|
||||
.sync_state = clk_sync_state,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -338,6 +338,7 @@ static struct platform_driver video_cc_sdm845_driver = {
|
||||
.driver = {
|
||||
.name = "sdm845-videocc",
|
||||
.of_match_table = video_cc_sdm845_match_table,
|
||||
.sync_state = clk_sync_state,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user