From d1d2c497c261f42502519d510765671a75f2326e Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 19 Jun 2005 20:05:12 +0000 Subject: - 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 --- linux/drivers/media/video/cx88/cx88-video.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/cx88/cx88-video.c') 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; -- cgit v1.2.3