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

Commit c19c922a 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: Sanitize input to writeback kickoff"

parents e703fc46 130c2aff
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -566,6 +566,11 @@ int mdss_mdp_wb_kickoff(struct msm_fb_data_type *mfd)
	int ret = 0;
	struct mdss_mdp_writeback_arg wb_args;

	if (!ctl) {
		pr_err("no ctl attached to fb=%d devicet\n", mfd->index);
		return -ENODEV;
	}

	if (!ctl->power_on)
		return 0;