Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8014d041 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: disable dsi status check when display is off"

parents 323b84cc f2fc1fe4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ void mdss_check_dsi_ctrl_status(struct work_struct *work, uint32_t interval)
		mutex_lock(ctl->shared_lock);
	mutex_lock(&mdp5_data->ov_lock);

	if (pstatus_data->mfd->shutdown_pending) {
	if (mdss_panel_is_power_off(pstatus_data->mfd->panel_power_state)) {
		mutex_unlock(&mdp5_data->ov_lock);
		if (ctl->shared_lock)
			mutex_unlock(ctl->shared_lock);
+5 −0
Original line number Diff line number Diff line
@@ -60,6 +60,11 @@ static void check_dsi_ctrl_status(struct work_struct *work)
		return;
	}

	if (mdss_panel_is_power_off(pdsi_status->mfd->panel_power_state)) {
		pr_err("%s: panel off\n", __func__);
		return;
	}

	pdsi_status->mfd->mdp.check_dsi_status(work, interval);
}