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

Commit 210dd90b 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 325463b9 aa11bb25
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -1041,12 +1041,13 @@ 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);