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

Commit 518c36da 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: rotator: validate if output format is ubwc"

parents 91677d92 19119396
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1347,9 +1347,9 @@ static int mdss_rotator_validate_img_roi(struct mdp_rotation_item *item)
	struct mdss_mdp_format_params *fmt;
	int ret = 0;

	fmt = mdss_mdp_get_format_params(item->input.format);
	fmt = mdss_mdp_get_format_params(item->output.format);
	if (!fmt) {
		pr_err("invalid input format:%d\n", item->input.format);
		pr_err("invalid output format:%d\n", item->output.format);
		return -EINVAL;
	}