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

Commit 3b2b28da authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Add support for compat IOCTL



Compat IOCTLs are used when Userspace operates in 32 bit
and kernel in 64 bit. The IOCTLs in V4L2 framework needs to
map to compat functions. Add support in driver to call compat
V4L2 framework IOCTLs.

Change-Id: I3f92e40d314e7717535193806259cef4eef99827
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent faefe1ea
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -276,6 +276,9 @@ static const struct v4l2_file_operations msm_v4l2_vidc_fops = {
	.release = msm_v4l2_close,
	.ioctl = video_ioctl2,
	.poll = msm_v4l2_poll,
#ifdef CONFIG_COMPAT
	.compat_ioctl32 = v4l2_compat_ioctl32,
#endif
};

void msm_vidc_release_video_device(struct video_device *pvdev)