From 79d2ead79bd13dc4b3562502a7dfb49376ee5372 Mon Sep 17 00:00:00 2001 From: Tatenda Chipeperekwa Date: Thu, 31 Mar 2016 17:01:51 -0700 Subject: msm: mdss: hdmi: update power module state during probe Update the state of any power modules that are enabled during the probe when HDMI is the primary panel and continuous splash is enabled. This allows the HDMI transmitter core to correctly power on/off modules during states transitions such as those associated with runtime suspend and resume. Change-Id: If2f4fb5837c0a0a380d95be8292b8d5064eaec0f Signed-off-by: Tatenda Chipeperekwa --- drivers/video/fbdev/msm/mdss_hdmi_tx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/video') diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c index 6d0594b42d0f..b300c4aba599 100644 --- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c +++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c @@ -5009,6 +5009,8 @@ static int hdmi_tx_probe(struct platform_device *pdev) msm_dss_enable_clk( hdmi_ctrl->pdata.power_data[i].clk_config, hdmi_ctrl->pdata.power_data[i].num_clk, 1); + + hdmi_ctrl->power_data_enable[i] = true; } } -- cgit v1.2.3