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

Commit 090cd820 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: Allow up to 10 overlays per display"

parents e7fc48b8 bf6f7456
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3553,7 +3553,7 @@ static int __handle_ioctl_overlay_prepare(struct msm_fb_data_type *mfd,
	if (copy_from_user(&ovlist, argp, sizeof(ovlist)))
		return -EFAULT;

	if (ovlist.num_overlays >= OVERLAY_MAX) {
	if (ovlist.num_overlays > OVERLAY_MAX) {
		pr_err("Number of overlays exceeds max\n");
		return -EINVAL;
	}