summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/compat_ioctl32.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-23 10:55:22 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-23 10:55:22 -0200
commit29ac7c213e31ba795fc416ad8b584eae712e11c4 (patch)
tree843c0aa4d55ce298e6e7b64afe850d37b59462a6 /linux/drivers/media/video/compat_ioctl32.c
parentde797c21fdcc4d220dd797b792ad3b290f7cec94 (diff)
downloadmediapointer-dvb-s2-29ac7c213e31ba795fc416ad8b584eae712e11c4.tar.gz
mediapointer-dvb-s2-29ac7c213e31ba795fc416ad8b584eae712e11c4.tar.bz2
Add some missing compat32 ioctls
From: Gregor Jasny <jasny@vidsoft.de> This patch adds the missing compat ioctls that are needed to operate Skype in combination with libv4l and a MJPEG only camera. If you think it's trivial enough please submit it to -stable, too. Signed-off-by: Gregor Jasny <gjasny@web.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/compat_ioctl32.c')
-rw-r--r--linux/drivers/media/video/compat_ioctl32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/compat_ioctl32.c b/linux/drivers/media/video/compat_ioctl32.c
index a37f3a64e..2b36744c0 100644
--- a/linux/drivers/media/video/compat_ioctl32.c
+++ b/linux/drivers/media/video/compat_ioctl32.c
@@ -932,6 +932,7 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
case VIDIOC_STREAMON32:
case VIDIOC_STREAMOFF32:
case VIDIOC_G_PARM:
+ case VIDIOC_S_PARM:
case VIDIOC_G_STD:
case VIDIOC_S_STD:
case VIDIOC_G_TUNER:
@@ -950,6 +951,8 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
case VIDIOC_S_INPUT32:
case VIDIOC_TRY_FMT32:
case VIDIOC_S_HW_FREQ_SEEK:
+ case VIDIOC_ENUM_FRAMESIZES:
+ case VIDIOC_ENUM_FRAMEINTERVALS:
ret = do_video_ioctl(file, cmd, arg);
break;