]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5443): Saa7134: put tuner to sleep mode after board initialization
authorHartmut Hackmann <hartmut.hackmann@t-online.de>
Tue, 13 Mar 2007 23:44:22 +0000 (20:44 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:49 +0000 (15:44 -0300)
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>
drivers/media/video/saa7134/saa7134-core.c

index e62f6e826a8b18f38378b6a8f6d567beecac98a7..25f84701a8e8f8a473ff617cb7dc898f265f2302 100644 (file)
@@ -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: