Loading drivers/video/fbdev/msm/mdss_hdmi_tx.c +8 −1 Original line number Diff line number Diff line Loading @@ -434,7 +434,7 @@ static inline void hdmi_tx_audio_notify( } static void hdmi_tx_send_cable_notification( struct hdmi_tx_ctrl *hdmi_ctrl, int val) struct hdmi_tx_ctrl *hdmi_ctrl, bool val) { char name[HPD_STRING_SIZE], status[HPD_STRING_SIZE]; char *envp[3]; Loading @@ -444,6 +444,13 @@ static void hdmi_tx_send_cable_notification( return; } if (hdmi_ctrl->hpd_notif_state == !!val) { pr_debug("%s: no change in HPD state\n", __func__); return; } hdmi_ctrl->hpd_notif_state = !!val; snprintf(name, HPD_STRING_SIZE, "name=%s", "HDMI"); snprintf(status, HPD_STRING_SIZE, "status=%s", val ? "connected" : "disconnected"); Loading drivers/video/fbdev/msm/mdss_hdmi_tx.h +1 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ struct hdmi_tx_ctrl { u32 hdmi_tx_major_version; u32 max_pclk_khz; u32 hpd_state; bool hpd_notif_state; u32 hpd_off_pending; u32 hpd_feature_on; u32 hpd_initialized; Loading Loading
drivers/video/fbdev/msm/mdss_hdmi_tx.c +8 −1 Original line number Diff line number Diff line Loading @@ -434,7 +434,7 @@ static inline void hdmi_tx_audio_notify( } static void hdmi_tx_send_cable_notification( struct hdmi_tx_ctrl *hdmi_ctrl, int val) struct hdmi_tx_ctrl *hdmi_ctrl, bool val) { char name[HPD_STRING_SIZE], status[HPD_STRING_SIZE]; char *envp[3]; Loading @@ -444,6 +444,13 @@ static void hdmi_tx_send_cable_notification( return; } if (hdmi_ctrl->hpd_notif_state == !!val) { pr_debug("%s: no change in HPD state\n", __func__); return; } hdmi_ctrl->hpd_notif_state = !!val; snprintf(name, HPD_STRING_SIZE, "name=%s", "HDMI"); snprintf(status, HPD_STRING_SIZE, "status=%s", val ? "connected" : "disconnected"); Loading
drivers/video/fbdev/msm/mdss_hdmi_tx.h +1 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ struct hdmi_tx_ctrl { u32 hdmi_tx_major_version; u32 max_pclk_khz; u32 hpd_state; bool hpd_notif_state; u32 hpd_off_pending; u32 hpd_feature_on; u32 hpd_initialized; Loading