hdmitx_edid_clear(hdev);
hdmitx_edid_ram_buffer_clear(hdev);
edidinfo_detach_to_vinfo(hdev);
- extcon_set_state_sync(hdmitx_extcon_power, EXTCON_DISP_HDMI, 0);
+ extcon_set_state_sync(hdmitx_extcon_power, EXTCON_DISP_HDMI,
+ HDMI_SUSPEND);
phdmi->hwop.cntlconfig(&hdmitx_device, CONF_CLR_AVI_PACKET, 0);
phdmi->hwop.cntlconfig(&hdmitx_device, CONF_CLR_VSDB_PACKET, 0);
/*close vpu clk*/
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_power, EXTCON_DISP_HDMI,
+ HDMI_WAKEUP);
extcon_set_state_sync(hdmitx_extcon_audio, EXTCON_DISP_HDMI,
hdmitx_device.hpd_state);
hdmitx_notify_hpd(hdmitx_device->hpd_state);
extcon_set_state_sync(hdmitx_extcon_power, EXTCON_DISP_HDMI,
- hdmitx_device->hpd_state);
+ HDMI_WAKEUP);
INIT_WORK(&hdmitx_device->work_hdr, hdr_work_func);
hdmitx_device->hdmi_wq = alloc_workqueue(DEVICE_NAME,