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

Commit 9bb31077 authored by Vishnuvardhan Prodduturi's avatar Vishnuvardhan Prodduturi
Browse files

msm: mdss: Remove explicit call to disable esd thread



Esd thread will automatically be disabled using fb notifier when
display is off. So, remove explicit call to disable esd in display off
sequence to avoid mutex deadlock.

Change-Id: Ifc7f7f32e0881fa49ea816150f2b55f41a5ff9a3
Signed-off-by: default avatarVishnuvardhan Prodduturi <vproddut@codeaurora.org>
parent d5546ff2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2751,7 +2751,6 @@ static int mdss_dsi_event_handler(struct mdss_panel_data *pdata,
		break;
	case MDSS_EVENT_PANEL_OFF:
		power_state = (int) (unsigned long) arg;
		disable_esd_thread();
		ctrl_pdata->ctrl_state &= ~CTRL_STATE_MDP_ACTIVE;
		if (ctrl_pdata->off_cmds.link_state == DSI_LP_MODE)
			rc = mdss_dsi_blank(pdata, power_state);