]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (6447): tuner: add i2c_gate_ctrl function to struct analog_tuner_ops
authorMichael Krufky <mkrufky@linuxtv.org>
Wed, 24 Oct 2007 12:23:17 +0000 (09:23 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:13 +0000 (19:01 -0200)
commit2be1b48fd27a3b6878db034288ed571b03df3a5c
treede4f918790953535d86ba339a302c0574fbd4ef3
parent6f998742f09a7116f1232cebc87a814e3aca639a
V4L/DVB (6447): tuner: add i2c_gate_ctrl function to struct analog_tuner_ops

In some designs, the tuner silicon may be on an i2c bus behind an i2c gate,
controlled by the analog demodulator.  We already have a method to control
such i2c gates when they are controlled by the digital demodulator, but in
some hybrid designs, there may be an i2c gate controlled by each demodulator.

For example, when in analog tuning mode, one would access the tuner by opening
the i2c gate controlled by the analog demodulator, while when in digital
tuning mode, one would access the tuner by opening the i2c gate controlled by
the digital demodulator.

We must add this callback function to analog_tuner_ops in order to handle
such configurations.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-driver.h