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

Commit 35188fa9 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: compat: avoid overrwriting err code from ioctl"

parents 0534c67f 29acad36
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2513,8 +2513,9 @@ int mdss_compat_overlay_ioctl(struct fb_info *info, unsigned int cmd,
		} else {
			ret = mdss_fb_do_ioctl(info, cmd,
						(unsigned long) ovlist);
			ret = __to_user_mdp_overlaylist(ovlist32, ovlist,
						layers_head);
			if (!ret)
				ret = __to_user_mdp_overlaylist(ovlist32,
							 ovlist, layers_head);
		}
		break;
	case MSMFB_OVERLAY_UNSET: