mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 22:20:55 +07:00
V4L/DVB (4064): No drivers should use VIDIOC_*_OLD
V4L core functions handle VIDIOC_*_OLD older ioctls. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
dd00b1e020
commit
7565ab082d
@ -2341,11 +2341,9 @@ static int et61x251_ioctl_v4l2(struct inode* inode, struct file* filp,
|
||||
case VIDIOC_G_CTRL:
|
||||
return et61x251_vidioc_g_ctrl(cam, arg);
|
||||
|
||||
case VIDIOC_S_CTRL_OLD:
|
||||
case VIDIOC_S_CTRL:
|
||||
return et61x251_vidioc_s_ctrl(cam, arg);
|
||||
|
||||
case VIDIOC_CROPCAP_OLD:
|
||||
case VIDIOC_CROPCAP:
|
||||
return et61x251_vidioc_cropcap(cam, arg);
|
||||
|
||||
@ -2392,7 +2390,6 @@ static int et61x251_ioctl_v4l2(struct inode* inode, struct file* filp,
|
||||
case VIDIOC_G_PARM:
|
||||
return et61x251_vidioc_g_parm(cam, arg);
|
||||
|
||||
case VIDIOC_S_PARM_OLD:
|
||||
case VIDIOC_S_PARM:
|
||||
return et61x251_vidioc_s_parm(cam, arg);
|
||||
|
||||
|
@ -2608,11 +2608,9 @@ static int sn9c102_ioctl_v4l2(struct inode* inode, struct file* filp,
|
||||
case VIDIOC_G_CTRL:
|
||||
return sn9c102_vidioc_g_ctrl(cam, arg);
|
||||
|
||||
case VIDIOC_S_CTRL_OLD:
|
||||
case VIDIOC_S_CTRL:
|
||||
return sn9c102_vidioc_s_ctrl(cam, arg);
|
||||
|
||||
case VIDIOC_CROPCAP_OLD:
|
||||
case VIDIOC_CROPCAP:
|
||||
return sn9c102_vidioc_cropcap(cam, arg);
|
||||
|
||||
@ -2659,7 +2657,6 @@ static int sn9c102_ioctl_v4l2(struct inode* inode, struct file* filp,
|
||||
case VIDIOC_G_PARM:
|
||||
return sn9c102_vidioc_g_parm(cam, arg);
|
||||
|
||||
case VIDIOC_S_PARM_OLD:
|
||||
case VIDIOC_S_PARM:
|
||||
return sn9c102_vidioc_s_parm(cam, arg);
|
||||
|
||||
|
@ -1773,11 +1773,9 @@ static int zc0301_ioctl_v4l2(struct inode* inode, struct file* filp,
|
||||
case VIDIOC_G_CTRL:
|
||||
return zc0301_vidioc_g_ctrl(cam, arg);
|
||||
|
||||
case VIDIOC_S_CTRL_OLD:
|
||||
case VIDIOC_S_CTRL:
|
||||
return zc0301_vidioc_s_ctrl(cam, arg);
|
||||
|
||||
case VIDIOC_CROPCAP_OLD:
|
||||
case VIDIOC_CROPCAP:
|
||||
return zc0301_vidioc_cropcap(cam, arg);
|
||||
|
||||
@ -1824,7 +1822,6 @@ static int zc0301_ioctl_v4l2(struct inode* inode, struct file* filp,
|
||||
case VIDIOC_G_PARM:
|
||||
return zc0301_vidioc_g_parm(cam, arg);
|
||||
|
||||
case VIDIOC_S_PARM_OLD:
|
||||
case VIDIOC_S_PARM:
|
||||
return zc0301_vidioc_s_parm(cam, arg);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user