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

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

Merge "mdss: mdp3: turn off panel before turning off dma"

parents ed4663af e90cc78b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -793,16 +793,16 @@ static int mdp3_ctrl_reset(struct msm_fb_data_type *mfd)
	if (panel && panel->set_backlight)
		panel->set_backlight(panel, 0);

	rc = panel->event_handler(panel, MDSS_EVENT_PANEL_OFF, NULL);
	if (rc)
		pr_err("fail to turn off panel\n");

	rc = mdp3_dma->stop(mdp3_dma, mdp3_session->intf);
	if (rc) {
		pr_err("fail to stop the MDP3 dma\n");
		goto reset_error;
	}

	rc = panel->event_handler(panel, MDSS_EVENT_PANEL_OFF, NULL);
	if (rc)
		pr_err("fail to turn off panel\n");

	rc = mdp3_put_mdp_dsi_clk();
	if (rc) {
		pr_err("fail to release mdp clocks\n");