From d24a072cd4bd724a56146ae2a3601510b7f03b55 Mon Sep 17 00:00:00 2001 From: Zongdong Jiao Date: Mon, 26 Jul 2021 22:21:29 +0800 Subject: [PATCH] hdmitx: head the hdmi_pwr in resume [1/4] PD#SWPL-55323 Problem: the hdmi_pwr is too late in resume Solution: head the hdmi_pwr in resume Verify: G12/U212 Change-Id: I86bd4dfd0c6b51578cb09fd4fc8902b858de9eae Signed-off-by: Zongdong Jiao --- drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c index 17f7ce3611d1..5e9eb821f916 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c @@ -287,6 +287,7 @@ static void hdmitx_late_resume(struct early_suspend *h) const struct vinfo_s *info = hdmitx_get_current_vinfo(); struct hdmitx_dev *phdmi = (struct hdmitx_dev *)h->param; + extcon_set_state_sync(hdmitx_extcon_power, EXTCON_DISP_HDMI, 1); /*open vpu clk*/ if (phdmi->hdmitx_clk_tree.hdmi_clk_vapb != NULL) clk_prepare_enable(phdmi->hdmitx_clk_tree.hdmi_clk_vapb); @@ -318,7 +319,6 @@ static void hdmitx_late_resume(struct early_suspend *h) extcon_set_state_sync(hdmitx_extcon_hdmi, EXTCON_DISP_HDMI, hdmitx_device.hpd_state); - extcon_set_state_sync(hdmitx_extcon_power, EXTCON_DISP_HDMI, 1); extcon_set_state_sync(hdmitx_extcon_audio, EXTCON_DISP_HDMI, hdmitx_device.hpd_state); -- 2.20.1