summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Hackmann <devnull@localhost>2005-06-16 21:20:44 +0000
committerHartmut Hackmann <devnull@localhost>2005-06-16 21:20:44 +0000
commit85e7d6db1f3eec265980dae6231bcf531fa19bdd (patch)
tree24ddf0f14991b9b4e58a6ca2f2442372fa2d7636
parent400478dd16cd3f1332bc73baa1f61e750a0db5da (diff)
downloadmediapointer-dvb-s2-85e7d6db1f3eec265980dae6231bcf531fa19bdd.tar.gz
mediapointer-dvb-s2-85e7d6db1f3eec265980dae6231bcf531fa19bdd.tar.bz2
- don't turn off the xtal output of the TDA8275 in sleep mode
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-video.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-video.c b/linux/drivers/media/video/saa7134/saa7134-video.c
index 78cac326b..d9ee6cb02 100644
--- a/linux/drivers/media/video/saa7134/saa7134-video.c
+++ b/linux/drivers/media/video/saa7134/saa7134-video.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-video.c,v 1.34 2005/06/16 21:15:06 mchehab Exp $
+ * $Id: saa7134-video.c,v 1.35 2005/06/16 21:20:44 hhackmann Exp $
*
* device driver for philips saa7134 based TV cards
* video4linux video interface
@@ -1255,8 +1255,6 @@ static int video_open(struct inode *inode, struct file *file)
if (fh->radio) {
/* switch to radio mode */
saa7134_tvaudio_setinput(dev,&card(dev).radio);
- if(dev->board == SAA7134_BOARD_MD7134)
- saa7134_i2c_call_clients(dev,AUDC_CONFIG_PHILIPS_FMD, NULL);
saa7134_i2c_call_clients(dev,AUDC_SET_RADIO, NULL);
} else {
/* switch to video/vbi mode */
@@ -1381,10 +1379,10 @@ static int video_release(struct inode *inode, struct file *file)
printk(KERN_ERR "TDA8290 access failure\n");
msg.addr = I2C_ADDR_TDA8275;
data[0] = 0x30;
- data[1] = 0xc0;
+ data[1] = 0xd0;
ret = i2c_transfer(&dev->i2c_adap, &msg, 1);
if (ret != 1)
- printk(KERN_ERR "TDA8274 access failure\n");
+ printk(KERN_ERR "TDA8275 access failure\n");
msg.addr = I2C_ADDR_TDA8290;
data[0] = 0x21;
data[1] = 0x80;