Commit 67d52e29 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6920): tuner: fix backwards logic in check for set_config

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: default avatarMichael Krufky <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent de7234bb
......@@ -855,12 +855,11 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
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);
analog_ops->set_config(&t->fe, cfg->priv);
tuner_dbg("Tuner frontend module has no way to set config\n");
/* --- v4l ioctls --- */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment