mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
media: rockchip: ispp: fec add compat_ioctl32
Change-Id: I502f46478ffa4f79065fbdbb59f5b26753301adb Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user