diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2005-11-09 00:37:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:20 -0500 |
commit | 299392bf2040fc53ebfc94363ac0abdd0f0bf619 (patch) | |
tree | 2ea989ebf59a4478921c49897a3b511477e3d4f7 /drivers/media/video/bttv-driver.c | |
parent | c58c21c7a2ef7d1eb45231d5c1bb24d88a9666b8 (diff) |
[PATCH] v4l: 798: this patch adds the vidioc log status to videodev2 h and adds
- This patch adds the VIDIOC_LOG_STATUS to videodev2.h and adds
LOG_STATUS support to tda9887.c and bttv-driver.c.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/bttv-driver.c')
-rw-r--r-- | drivers/media/video/bttv-driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c index 058b923b4b13..f8307407e320 100644 --- a/drivers/media/video/bttv-driver.c +++ b/drivers/media/video/bttv-driver.c | |||
@@ -1851,6 +1851,11 @@ static int bttv_common_ioctls(struct bttv *btv, unsigned int cmd, void *arg) | |||
1851 | up(&btv->lock); | 1851 | up(&btv->lock); |
1852 | return 0; | 1852 | return 0; |
1853 | } | 1853 | } |
1854 | case VIDIOC_LOG_STATUS: | ||
1855 | { | ||
1856 | bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, 0); | ||
1857 | return 0; | ||
1858 | } | ||
1854 | 1859 | ||
1855 | default: | 1860 | default: |
1856 | return -ENOIOCTLCMD; | 1861 | return -ENOIOCTLCMD; |
@@ -2856,6 +2861,7 @@ static int bttv_do_ioctl(struct inode *inode, struct file *file, | |||
2856 | case VIDIOC_S_TUNER: | 2861 | case VIDIOC_S_TUNER: |
2857 | case VIDIOC_G_FREQUENCY: | 2862 | case VIDIOC_G_FREQUENCY: |
2858 | case VIDIOC_S_FREQUENCY: | 2863 | case VIDIOC_S_FREQUENCY: |
2864 | case VIDIOC_LOG_STATUS: | ||
2859 | return bttv_common_ioctls(btv,cmd,arg); | 2865 | return bttv_common_ioctls(btv,cmd,arg); |
2860 | 2866 | ||
2861 | default: | 2867 | default: |