summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-14 00:44:22 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 20:44:49 +0200
commit80d352374be7ac88a23fb427d146ac9a71beff90 (patch)
treed72718c46a873904e5a031bd672f3a855eb188d7
parentV4L/DVB (5440): Dvb-ttpci: Infrared remote initialization fix (diff)
downloadlinux-80d352374be7ac88a23fb427d146ac9a71beff90.tar.xz
linux-80d352374be7ac88a23fb427d146ac9a71beff90.zip
V4L/DVB (5443): Saa7134: put tuner to sleep mode after board initialization
Besides power saving, this puts the AGC output of the tda8290 to tristate. This is necessary for some hybrid boards which don't use a multiplexer for the AGC Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/saa7134/saa7134-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index e62f6e826a8b..25f84701a8e8 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -1034,6 +1034,9 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev,
saa7134_dmasound_init(dev);
}
+ if (TUNER_ABSENT != dev->tuner_type)
+ saa7134_i2c_call_clients(dev, TUNER_SET_STANDBY, NULL);
+
return 0;
fail4: