From 29e616fa0727f9bdb0fa06f0c14bd5edbfdeea13 Mon Sep 17 00:00:00 2001 From: Ujwal Patel Date: Wed, 13 Mar 2013 18:07:10 -0700 Subject: [PATCH] msm: mdss: hdmi: reset hpd_state when hpd circuitry is turned off Reset hpd_state to disconnect when hpd circuitry is turned off by the user. Change-Id: Ib37d8f55d51afa57b7f46f603fbae4e3e3a47de5 Signed-off-by: Ujwal Patel --- drivers/video/msm/mdss/mdss_hdmi_tx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/msm/mdss/mdss_hdmi_tx.c b/drivers/video/msm/mdss/mdss_hdmi_tx.c index 4f95aee2c90..cce061a806c 100644 --- a/drivers/video/msm/mdss/mdss_hdmi_tx.c +++ b/drivers/video/msm/mdss/mdss_hdmi_tx.c @@ -2182,6 +2182,7 @@ static void hdmi_tx_hpd_off(struct hdmi_tx_ctrl *hdmi_ctrl) DEV_INFO("%s: Failed to disable hpd power. Error=%d\n", __func__, rc); + hdmi_ctrl->hpd_state = false; hdmi_ctrl->hpd_initialized = false; } /* hdmi_tx_hpd_off */