diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-19 15:59:25 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-19 15:59:25 +0000 |
commit | 8a548c9a82ac9ce5b45287c8b9e6ab128b8648ae (patch) | |
tree | e0b62c5b48cc7f8fdf80e63a77698f514c98a2ff /linux/drivers/media/video/cx88/cx88-video.c | |
parent | ae64b61bce4b4ca9ea9a47c089c0ff0773a8430f (diff) | |
download | mediapointer-dvb-s2-8a548c9a82ac9ce5b45287c8b9e6ab128b8648ae.tar.gz mediapointer-dvb-s2-8a548c9a82ac9ce5b45287c8b9e6ab128b8648ae.tar.bz2 |
Added inicial support for changing radio mode stereo/mono for tea5767
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-video.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c index 7edb24afa..f508b1256 100644 --- a/linux/drivers/media/video/cx88/cx88-video.c +++ b/linux/drivers/media/video/cx88/cx88-video.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-video.c,v 1.67 2005/06/17 20:49:30 nsh Exp $ + * $Id: cx88-video.c,v 1.68 2005/06/19 15:59:25 mchehab Exp $ * * device driver for Conexant 2388x based TV cards * video4linux video interface @@ -1760,8 +1760,19 @@ static int radio_do_ioctl(struct inode *inode, struct file *file, *id = 0; return 0; } - case VIDIOC_S_AUDIO: case VIDIOC_S_TUNER: + { + struct v4l2_tuner *t = arg; + + if (0 != t->index) + return -EINVAL; + + cx88_call_i2c_clients(dev->core,VIDIOC_S_TUNER,t); + + return 0; + } + + case VIDIOC_S_AUDIO: case VIDIOC_S_INPUT: case VIDIOC_S_STD: return 0; |