[media] saa7134-dvb: Fix kworld sbtvd I2C gate control
authorManoel Pinheiro <pinusdtv@hotmail.com>
Thu, 19 May 2011 17:16:57 +0000 (14:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Aug 2012 00:14:59 +0000 (21:14 -0300)
commitb08deebebe13c73b35701d180a4689dfb34db519
tree355e796b0a792be67941b6eba503ada1356d9ff6
parentf8e00d5fa86fbc4462647da162152d4e74db784c
[media] saa7134-dvb: Fix kworld sbtvd I2C gate control

The correct place to put i2c_gate_ctrl is before calling tda18271_attach,
because the driver tda18271 will use it to enable or disable the i2c-bus
from the demodulator to the tuner.

And thus eliminate the error message: "Unknown device (255) detected
@ 1-00c0, device not supported" in the driver tda18271.

In the device kworld_sbtvd (hybrid analog and digital TV) the control
of the i2c-bus to tuner is done in the analog demodulator and not in
the digital demodulator.

Signed-off-by: Manoel Pinheiro <pinusdtv@hotmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-dvb.c