V4L/DVB (5989): V4L: Add additional ioctls to compat_ioctl32
authorSteven Walter <stevenrwalter@gmail.com>
Thu, 9 Aug 2007 14:36:35 +0000 (11:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:45 +0000 (22:04 -0300)
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>
drivers/media/video/compat_ioctl32.c

index f065ad1..cefd138 100644 (file)
@@ -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: