summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-dvb.c7
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c5
2 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c
index c95b3fb7b..31d1a5310 100644
--- a/linux/drivers/media/video/cx88/cx88-dvb.c
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-dvb.c,v 1.59 2005/08/11 17:18:38 mkrufky Exp $
+ * $Id: cx88-dvb.c,v 1.60 2005/08/17 19:42:11 nsh Exp $
*
* device driver for Conexant 2388x based TV cards
* MPEG Transport Stream (DVB) routines
@@ -232,11 +232,8 @@ static int lgdt330x_pll_set(struct dvb_frontend* fe,
int err;
/* Put the analog decoder in standby to keep it quiet */
- /* FIXME: it is using a side effect to mute tuner instead of T_STANDBY */
if (core->tda9887_conf) {
- v4l2_std_id std = V4L2_STD_ATSC;
-
- cx88_call_i2c_clients(core, VIDIOC_S_STD, &std);
+ cx88_call_i2c_clients (dev->core, TUNER_SET_STANDBY, NULL);
}
dvb_pll_configure(core->pll_desc, buf, params->frequency, 0);
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 46f1e95d0..7401b1245 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.87 2005/08/16 17:23:46 catalin Exp $
+ * $Id: cx88-video.c,v 1.88 2005/08/17 19:42:11 nsh Exp $
*
* device driver for Conexant 2388x based TV cards
* video4linux video interface
@@ -1113,6 +1113,9 @@ static int video_release(struct inode *inode, struct file *file)
videobuf_mmap_free(&fh->vbiq);
file->private_data = NULL;
kfree(fh);
+
+ cx88_call_i2c_clients (dev->core, TUNER_SET_STANDBY, NULL);
+
return 0;
}