diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-26 13:18:03 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 20:53:38 (GMT) |
commit | 7a286cc1889f14c5c8dbf866718edde100527d8c (patch) | |
tree | ab89587a98d1dbb062b248bad30c881003f94202 /drivers/media/video/et61x251/et61x251_core.c | |
parent | 9190d191b1b814dfb488125b54cf0de6eedd9220 (diff) | |
download | linux-7a286cc1889f14c5c8dbf866718edde100527d8c.tar.xz |
[media] return -ENOTTY for unsupported ioctl's at legacy drivers
Those drivers are not relying at the V4L2 core to handle the ioctl's.
So, we need to manually patch them every time a change goes to the
core.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-By: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/et61x251/et61x251_core.c')
-rw-r--r-- | drivers/media/video/et61x251/et61x251_core.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c index d7efb33..9a1e80a 100644 --- a/drivers/media/video/et61x251/et61x251_core.c +++ b/drivers/media/video/et61x251/et61x251_core.c @@ -2480,16 +2480,8 @@ static long et61x251_ioctl_v4l2(struct file *filp, case VIDIOC_S_PARM: return et61x251_vidioc_s_parm(cam, arg); - case VIDIOC_G_STD: - case VIDIOC_S_STD: - case VIDIOC_QUERYSTD: - case VIDIOC_ENUMSTD: - case VIDIOC_QUERYMENU: - case VIDIOC_ENUM_FRAMEINTERVALS: - return -EINVAL; - default: - return -EINVAL; + return -ENOTTY; } } |