summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-13 20:44:22 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 15:44:49 -0300
commit80d352374be7ac88a23fb427d146ac9a71beff90 (patch)
treed72718c46a873904e5a031bd672f3a855eb188d7 /drivers/media
parent1b2457680f237f858d5f6bcf933cd173a7b27a81 (diff)
downloadop-kernel-dev-80d352374be7ac88a23fb427d146ac9a71beff90.zip
op-kernel-dev-80d352374be7ac88a23fb427d146ac9a71beff90.tar.gz
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>
Diffstat (limited to 'drivers/media')
-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 e62f6e8..25f8470 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:
OpenPOWER on IntegriCloud