diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2009-08-27 16:58:06 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 12:19:37 -0300 |
commit | 81016b496ee75cfb13d346ee58176d36a5f9c191 (patch) | |
tree | ac58c8e2ac88299819c4d5b48629ab32d481db8c /drivers/media/common/tuners/tda18271.h | |
parent | ee8145d5634da4e062f8693f59695b0b2ed6e60d (diff) | |
download | linux-81016b496ee75cfb13d346ee58176d36a5f9c191.tar.gz linux-81016b496ee75cfb13d346ee58176d36a5f9c191.tar.bz2 linux-81016b496ee75cfb13d346ee58176d36a5f9c191.zip |
V4L/DVB (12578): tda18271: allow drivers to request RF tracking filter calibration during attach
On certain master / slave dual tuner configurations, tuning performance
improves when the RF tracking filter calibration is performed sequentially.
This patch allows for the bridge driver to specify this behavior in the
configuration structure at attach-time.
The "cal" module option will continue to override this attach-time
configuration: set cal=0 to prevent RF tracking filter calibration
on startup, and set cal=1 to force it.
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Reviewed-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/tda18271.h')
-rw-r--r-- | drivers/media/common/tuners/tda18271.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271.h b/drivers/media/common/tuners/tda18271.h index 53a9892a18d0..71bac9593f1e 100644 --- a/drivers/media/common/tuners/tda18271.h +++ b/drivers/media/common/tuners/tda18271.h @@ -77,6 +77,9 @@ struct tda18271_config { /* use i2c gate provided by analog or digital demod */ enum tda18271_i2c_gate gate; + /* force rf tracking filter calibration on startup */ + unsigned int rf_cal_on_startup:1; + /* some i2c providers cant write all 39 registers at once */ unsigned int small_i2c:1; |