mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
hdmitx: update extcon_hdmi_audio after resume
PD#169594: hdmitx: update extcon_hdmi_audio after resume Under some corner case, extcon_hdmi_audio maybe as 0. Change-Id: I497b5f8538ffd329e1fee4fcc44c09944e77cf64 Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
This commit is contained in:
@@ -181,6 +181,8 @@ static void hdmitx_late_resume(struct early_suspend *h)
|
||||
hdmitx_device.hpd_state =
|
||||
!!(hdmitx_device.HWOp.CntlMisc(&hdmitx_device,
|
||||
MISC_HPD_GPI_ST, 0));
|
||||
|
||||
pr_info("hdmitx hpd state: %d\n", hdmitx_device.hpd_state);
|
||||
hdmitx_notify_hpd(hdmitx_device.hpd_state);
|
||||
|
||||
/*force to get EDID after resume for Amplifer Power case*/
|
||||
@@ -195,6 +197,8 @@ static void hdmitx_late_resume(struct early_suspend *h)
|
||||
hdmitx_device.hpd_state);
|
||||
extcon_set_state_sync(hdmitx_extcon_power, EXTCON_DISP_HDMI,
|
||||
hdmitx_device.hpd_state);
|
||||
extcon_set_state_sync(hdmitx_extcon_audio, EXTCON_DISP_HDMI,
|
||||
hdmitx_device.hpd_state);
|
||||
|
||||
pr_info("amhdmitx: late resume module %d\n", __LINE__);
|
||||
phdmi->HWOp.Cntl((struct hdmitx_dev *)h->param,
|
||||
|
||||
Reference in New Issue
Block a user