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

Commit 108fbe54 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: Ensure event timer is added only once for MDP irq"

parents 61a150b6 4738688e
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -5419,10 +5419,13 @@ int mdss_mdp_overlay_init(struct msm_fb_data_type *mfd)

	mdss_irq = mdss_intr_line();

	/* Adding event timer only for primary panel */
	if ((mfd->index == 0) && (mfd->panel_info->type != WRITEBACK_PANEL)) {
		mdp5_data->cpu_pm_hdl = add_event_timer(mdss_irq->irq, NULL,
							(void *)mdp5_data);
		if (!mdp5_data->cpu_pm_hdl)
			pr_warn("%s: unable to add event timer\n", __func__);
	}

	if (mfd->panel_info->cont_splash_enabled) {
		rc = mdss_mdp_overlay_handoff(mfd);