From 95ab4b60e6a647c2be22818a0631c2714ada0974 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Tue, 18 Oct 2005 21:49:21 +0000 Subject: * ../linux/drivers/media/video/cx88/cx88-video.c: (radio_do_ioctl): * ../linux/drivers/media/video/saa7134/saa7134-video.c: (video_do_ioctl), (radio_do_ioctl): - Set tuner type in VIDIOC_G_TUNER. Signed-off-by: Elad Lahav --- linux/drivers/media/video/cx88/cx88-video.c | 3 ++- 1 file changed, 2 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 2a7630ec5..0867b33a6 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.98 2005/10/17 21:18:42 mchehab Exp $ + * $Id: cx88-video.c,v 1.99 2005/10/18 21:49:21 nsh Exp $ * * device driver for Conexant 2388x based TV cards * video4linux video interface @@ -1795,6 +1795,7 @@ static int radio_do_ioctl(struct inode *inode, struct file *file, memset(t,0,sizeof(*t)); strcpy(t->name, "Radio"); + t->type = V4L2_TUNER_RADIO; cx88_call_i2c_clients(core,VIDIOC_G_TUNER,t); return 0; -- cgit v1.2.3