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

Commit 39b4eba2 authored by Seemanta Dutta's avatar Seemanta Dutta
Browse files

msm: camera: cpp: Fix ioctl handler to return correct status



Fix the msm_cpp_subdev_fops_compat_ioctl() function so that it
returns the proper status.

Change-Id: I95f12b9f6b18a406b79e1dec79422f3c7ed834dd
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent 9e1a1c1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2305,7 +2305,7 @@ static long msm_cpp_subdev_fops_compat_ioctl(struct file *file,
	if (copy_to_user((void __user *)up, &up32_ioctl, sizeof(up32_ioctl)))
		return -EFAULT;

	return 0;
	return rc;
}
#endif