summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Walter <stevenrwalter@gmail.com>2007-08-09 16:36:35 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-10 03:04:45 +0200
commit7963fa48dafd07a8c6b6007fb038095553ad6a0f (patch)
tree44223b758ec8b0a6b5717776cd54de5a911e5488
parentV4L/DVB (5988): Fix OOP on videobuf-dvb when hibernating (diff)
downloadlinux-7963fa48dafd07a8c6b6007fb038095553ad6a0f.tar.xz
linux-7963fa48dafd07a8c6b6007fb038095553ad6a0f.zip
V4L/DVB (5989): V4L: Add additional ioctls to compat_ioctl32
With the addition of these ioctls, I'm able to watch TV with a 32-bit version of tvtime on x86_64. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/compat_ioctl32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/compat_ioctl32.c b/drivers/media/video/compat_ioctl32.c
index f065ad12cc61..cefd1381e8de 100644
--- a/drivers/media/video/compat_ioctl32.c
+++ b/drivers/media/video/compat_ioctl32.c
@@ -848,6 +848,8 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
case VIDIOCSFREQ32:
case VIDIOCGAUDIO:
case VIDIOCSAUDIO:
+ case VIDIOCGVBIFMT:
+ case VIDIOCSVBIFMT:
#endif
case VIDIOC_QUERYCAP:
case VIDIOC_ENUM_FMT:
@@ -874,7 +876,10 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
case VIDIOC_ENUMINPUT:
case VIDIOC_ENUMINPUT32:
case VIDIOC_G_CTRL:
+ case VIDIOC_S_CTRL:
case VIDIOC_S_CTRL32:
+ case VIDIOC_S_FREQUENCY:
+ case VIDIOC_G_FREQUENCY:
case VIDIOC_QUERYCTRL:
case VIDIOC_G_INPUT32:
case VIDIOC_S_INPUT32: