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

Commit 612511ae 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: Fix potential null pointer dereference"

parents 1ce82d46 28416b51
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4364,7 +4364,8 @@ int mdss_mdp_ctl_reset(struct mdss_mdp_ctl *ctl, bool is_recovery)
	if (mixer) {
		mdss_mdp_pipe_reset(mixer, is_recovery);

		if (is_dual_lm_single_display(ctl->mfd))
		if (is_dual_lm_single_display(ctl->mfd) &&
				ctl->mixer_right)
			mdss_mdp_pipe_reset(ctl->mixer_right, is_recovery);
	}