V4L/DVB (13216): tda18271: initialize tuner during set_config if rf_cal_on_startup...
authorMichael Krufky <mkrufky@kernellabs.com>
Sat, 24 Oct 2009 20:47:49 +0000 (17:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:56 +0000 (18:40 -0200)
commitc54e1dde586ea0e930d6c443ca60a9b9d0310de3
tree29aafafb9a7ebc0be14651909db5b42d657d2e56
parent42f9a03ed3ddcccc5372bf4774afc8c4273c6c3a
V4L/DVB (13216): tda18271: initialize tuner during set_config if rf_cal_on_startup is set

If rf_cal_on_startup is enabled in the structure passed into
tda18271_set_config, and the cal module option isn't disabled,
then we should run the initialization and calibration procedures
during the tda18271_set_config function call.

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18271-fe.c