summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-03 18:29:45 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-03 18:29:45 +0000
commita4faaccbc22656ab7f80e796ba5697664470e78b (patch)
tree3627b03a098d99a7e6f46ab20251a29bf5d41652 /linux/drivers/media/video/cx88/cx88-video.c
parent77bd3f4b79844adf564a9a7ab09c89e44ac8d929 (diff)
downloadmediapointer-dvb-s2-a4faaccbc22656ab7f80e796ba5697664470e78b.tar.gz
mediapointer-dvb-s2-a4faaccbc22656ab7f80e796ba5697664470e78b.tar.bz2
* cx88-video:
* tuner-core.c: - Added some comments about I2C working mode. - Frequency initialized for radio and TV. * cx88-video: - It calls VIDIOC_G_FREQUENCY to get tuner freq from tuner. 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 5110ac203..fd744d712 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.74 2005/07/03 13:41:38 mchehab Exp $
+ * $Id: cx88-video.c,v 1.75 2005/07/03 18:29:45 mchehab Exp $
*
* device driver for Conexant 2388x based TV cards
* video4linux video interface
@@ -1599,6 +1599,9 @@ static int video_do_ioctl(struct inode *inode, struct file *file,
f->type = fh->radio ? V4L2_TUNER_RADIO : V4L2_TUNER_ANALOG_TV;
f->frequency = dev->freq;
+
+ cx88_call_i2c_clients(dev->core,VIDIOC_G_FREQUENCY,f);
+
return 0;
}
case VIDIOC_S_FREQUENCY: