media: rockchip: ispp: fec add compat_ioctl32

Change-Id: I502f46478ffa4f79065fbdbb59f5b26753301adb
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
Cai YiWei
2022-10-21 16:49:49 +08:00
committed by Tao Huang
parent 2a2d61d9be
commit 390394c77d

View File

@@ -281,7 +281,7 @@ static int fec_running(struct rkispp_fec_dev *fec,
v4l2_dbg(3, rkispp_debug, &fec->v4l2_dev,
"0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n"
"0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n"
"0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n",
"0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x 0x%x:0x%x\n",
RKISPP_CTRL_SYS_STATUS, readl(base + RKISPP_CTRL_SYS_STATUS),
RKISPP_FEC_CTRL, readl(base + RKISPP_FEC_CTRL),
RKISPP_FEC_RD_VIR_STRIDE, readl(base + RKISPP_FEC_RD_VIR_STRIDE),
@@ -415,6 +415,9 @@ static const struct v4l2_file_operations fec_fops = {
.poll = v4l2_m2m_fop_poll,
.unlocked_ioctl = video_ioctl2,
.mmap = v4l2_m2m_fop_mmap,
#ifdef CONFIG_COMPAT
.compat_ioctl32 = video_ioctl2,
#endif
};
static const struct video_device fec_videodev = {