summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-11-19 22:35:36 +0000
committerAndrew de Quincy <devnull@localhost>2004-11-19 22:35:36 +0000
commit2a8a1d5dc039bc48d10a1a3fdb614154cda1aa7d (patch)
treeaedc7a2fccf0f0640e923cb98cd0d99407db8dee /linux/drivers
parente544fb4c869d8f4c62b827890817da0e3e3ac358 (diff)
downloadmediapointer-dvb-s2-2a8a1d5dc039bc48d10a1a3fdb614154cda1aa7d.tar.gz
mediapointer-dvb-s2-2a8a1d5dc039bc48d10a1a3fdb614154cda1aa7d.tar.bz2
Set into DVB mode on frontend detection
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 975c9b124..b2a1e449b 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -1874,6 +1874,10 @@ static void frontend_init(struct av7110 *av7110)
av7110->fe = stv0297_attach(&nexusca_stv0297_config, &av7110->i2c_adap, 0x7b);
if (av7110->fe) {
+ /* set TDA9819 into DVB mode */
+ saa7146_setgpio(av7110->dev, 1, SAA7146_GPIO_OUTHI); // TDA9198 pin9(STD)
+ saa7146_setgpio(av7110->dev, 3, SAA7146_GPIO_OUTLO); // TDA9198 pin30(VIF)
+
/* tuner on this needs a slower i2c bus speed */
av7110->dev->i2c_bitrate = SAA7146_I2C_BUS_BIT_RATE_240;
break;