media: rockchip: cif/isp support compat_ioctl32 for video

Change-Id: I6e02df9faeb64d71b0cb8033493c11a4267494a3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
Cai YiWei
2022-05-10 15:55:29 +08:00
committed by Tao Huang
parent 572d1d7548
commit f468eab640
3 changed files with 9 additions and 0 deletions

View File

@@ -5050,6 +5050,9 @@ static const struct v4l2_file_operations rkcif_fops = {
.unlocked_ioctl = video_ioctl2,
.poll = vb2_fop_poll,
.mmap = vb2_fop_mmap,
#ifdef CONFIG_COMPAT
.compat_ioctl32 = video_ioctl2,
#endif
};
static int rkcif_enum_input(struct file *file, void *priv,

View File

@@ -1196,6 +1196,9 @@ static const struct v4l2_file_operations rkisp_fops = {
.unlocked_ioctl = video_ioctl2,
.poll = vb2_fop_poll,
.mmap = vb2_fop_mmap,
#ifdef CONFIG_COMPAT
.compat_ioctl32 = video_ioctl2,
#endif
};
/*

View File

@@ -793,6 +793,9 @@ static const struct v4l2_file_operations rkisp_fops = {
.unlocked_ioctl = video_ioctl2,
.poll = vb2_fop_poll,
.mmap = vb2_fop_mmap,
#ifdef CONFIG_COMPAT
.compat_ioctl32 = video_ioctl2,
#endif
};
static int rkisp_try_fmt_vid_out_mplane(struct file *file, void *fh,