Loading drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c +6 −3 Original line number Diff line number Diff line Loading @@ -1339,6 +1339,7 @@ static int _sde_hdmi_hpd_enable(struct sde_hdmi *sde_hdmi) HDMI_HPD_CTRL_ENABLE | hpd_ctrl); spin_unlock_irqrestore(&hdmi->reg_lock, flags); if (!sde_hdmi->non_pluggable) hdmi->hpd_off = false; SDE_DEBUG("enabled hdmi hpd\n"); return 0; Loading Loading @@ -1401,7 +1402,7 @@ static void _sde_hdmi_hpd_disable(struct sde_hdmi *sde_hdmi) int i, ret = 0; unsigned long flags; if (hdmi->hpd_off) { if (!sde_hdmi->non_pluggable && hdmi->hpd_off) { pr_warn("hdmi display hpd was already disabled\n"); return; } Loading Loading @@ -1432,6 +1433,8 @@ static void _sde_hdmi_hpd_disable(struct sde_hdmi *sde_hdmi) pr_warn("failed to disable hpd regulator: %s (%d)\n", config->hpd_reg_names[i], ret); } if (!sde_hdmi->non_pluggable) hdmi->hpd_off = true; SDE_DEBUG("disabled hdmi hpd\n"); } Loading Loading
drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c +6 −3 Original line number Diff line number Diff line Loading @@ -1339,6 +1339,7 @@ static int _sde_hdmi_hpd_enable(struct sde_hdmi *sde_hdmi) HDMI_HPD_CTRL_ENABLE | hpd_ctrl); spin_unlock_irqrestore(&hdmi->reg_lock, flags); if (!sde_hdmi->non_pluggable) hdmi->hpd_off = false; SDE_DEBUG("enabled hdmi hpd\n"); return 0; Loading Loading @@ -1401,7 +1402,7 @@ static void _sde_hdmi_hpd_disable(struct sde_hdmi *sde_hdmi) int i, ret = 0; unsigned long flags; if (hdmi->hpd_off) { if (!sde_hdmi->non_pluggable && hdmi->hpd_off) { pr_warn("hdmi display hpd was already disabled\n"); return; } Loading Loading @@ -1432,6 +1433,8 @@ static void _sde_hdmi_hpd_disable(struct sde_hdmi *sde_hdmi) pr_warn("failed to disable hpd regulator: %s (%d)\n", config->hpd_reg_names[i], ret); } if (!sde_hdmi->non_pluggable) hdmi->hpd_off = true; SDE_DEBUG("disabled hdmi hpd\n"); } Loading