summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-06-19 20:05:12 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-06-19 20:05:12 +0000
commitd1d2c497c261f42502519d510765671a75f2326e (patch)
tree8b92ae1a6d0ee294ec4bd15f7e3906ff4526137a /linux/drivers/media/video/cx88/cx88-video.c
parent250cbe7a3a1f0dbd96944b365993b8a34179f665 (diff)
downloadmediapointer-dvb-s2-d1d2c497c261f42502519d510765671a75f2326e.tar.gz
mediapointer-dvb-s2-d1d2c497c261f42502519d510765671a75f2326e.tar.bz2
- Changing radio mode stereo/mono for tea5767 working.
- is not clear at V4L1 API if VIDIOCSTUNER can change to mono. support for changing implemented anyway to allow radio st/mono switch. - Issue to solve: tea indicates stereo even when switched to mono. 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.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index f508b1256..3a06448df 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.68 2005/06/19 15:59:25 mchehab Exp $
+ * $Id: cx88-video.c,v 1.69 2005/06/19 20:05:12 mchehab Exp $
*
* device driver for Conexant 2388x based TV cards
* video4linux video interface
@@ -1760,6 +1760,16 @@ static int radio_do_ioctl(struct inode *inode, struct file *file,
*id = 0;
return 0;
}
+ case VIDIOCSTUNER:
+ {
+ struct video_tuner *v = arg;
+
+ if (v->tuner) /* Only tuner 0 */
+ return -EINVAL;
+
+ cx88_call_i2c_clients(dev->core,VIDIOCSTUNER,v);
+ return 0;
+ }
case VIDIOC_S_TUNER:
{
struct v4l2_tuner *t = arg;