tuner-core was checking if analog_ops->set_config is set. If set, it would
complain that it isn't. Fix this backwards logic to the proper behavior.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
break;
if (analog_ops->set_config) {
- tuner_warn("Tuner frontend module has no way to "
- "set config\n");
+ analog_ops->set_config(&t->fe, cfg->priv);
break;
}
- analog_ops->set_config(&t->fe, cfg->priv);
+ tuner_dbg("Tuner frontend module has no way to set config\n");
break;
}
/* --- v4l ioctls --- */