From 71911bc952f2394dede17c5713de0b0dfcb04fae Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Thu, 27 Aug 2009 15:58:06 -0400 Subject: tda18271: allow drivers to request RF tracking filter calibration during attach From: Michael Krufky 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. Priority: normal Signed-off-by: Michael Krufky Reviewed-by: Steven Toth --- linux/drivers/media/common/tuners/tda18271.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/drivers/media/common/tuners/tda18271.h') diff --git a/linux/drivers/media/common/tuners/tda18271.h b/linux/drivers/media/common/tuners/tda18271.h index 53a9892a1..71bac9593 100644 --- a/linux/drivers/media/common/tuners/tda18271.h +++ b/linux/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; -- cgit v1.2.3