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

Commit 5e123bfc 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: do not send blank event to interface in TWM entry"

parents daa40725 779d3618
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -1090,12 +1090,16 @@ static int mdp3_ctrl_off(struct msm_fb_data_type *mfd)
	* events need to be sent to the interface so that the
	* panel can be configured in low power mode
	*/

	if (!mdp3_is_twm_en()) {
		if (panel->event_handler)
			rc = panel->event_handler(panel, MDSS_EVENT_BLANK,
				(void *) (long int)mfd->panel_power_state);
		if (rc)
			pr_err("EVENT_BLANK error (%d)\n", rc);

	}

	if (intf_stopped) {
		if (!mdp3_session->clk_on)
			mdp3_ctrl_clk_enable(mfd, 1);