V4L/DVB (12578): tda18271: allow drivers to request RF tracking filter calibration...
authorMichael Krufky <mkrufky@kernellabs.com>
Thu, 27 Aug 2009 19:58:06 +0000 (16:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:37 +0000 (12:19 -0300)
commit81016b496ee75cfb13d346ee58176d36a5f9c191
treeac58c8e2ac88299819c4d5b48629ab32d481db8c
parentee8145d5634da4e062f8693f59695b0b2ed6e60d
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>
drivers/media/common/tuners/tda18271-fe.c
drivers/media/common/tuners/tda18271.h