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

Commit 093b7395 authored by Srihitha Tangudu's avatar Srihitha Tangudu Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: dsi: clear the panel esd_recovery_pending in power on commit



Currently the panel esd_recovery_pending flag is cleared for every mode
set. The ESD recovery completes only after the suspend and resume. Clear
the flag only during power on commit.

Change-Id: I97e370feba0aad34558e4675168b4bcb7f5901ca
Signed-off-by: default avatarSrihitha Tangudu <quic_tangudu@quicinc.com>
parent 492bde87
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@ static void dsi_bridge_pre_enable(struct drm_bridge *bridge)
		return;
	}

	if (bridge->encoder->crtc->state->active_changed)
		atomic_set(&c_bridge->display->panel->esd_recovery_pending, 0);

	/* By this point mode should have been validated through mode_fixup */