]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (4768): Add the Asus P7131 Dual hybrid to the new tda8290_i2c_gate_ctrl
authorHermann Pitton <hermann-pitton@arcor.de>
Thu, 12 Oct 2006 23:00:56 +0000 (20:00 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 10:51:02 +0000 (08:51 -0200)
The gate control was moved to a separate function.

Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-dvb.c

index 88e4b0f16da962121805ba94713694198c6c6660..69092f092bb83a8e86074e5f4040104902e58dd2 100644 (file)
@@ -1210,6 +1210,7 @@ static int dvb_init(struct saa7134_dev *dev)
                                               &philips_tiger_config,
                                               &dev->i2c_adap);
                if (dev->dvb.frontend) {
+                       dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl;
                        dev->dvb.frontend->ops.tuner_ops.init = asus_p7131_dual_tuner_init;
                        dev->dvb.frontend->ops.tuner_ops.sleep = asus_p7131_dual_tuner_sleep;
                        dev->dvb.frontend->ops.tuner_ops.set_params = philips_tiger_tuner_set_params;