提交 e545d6e2 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (6953): Fix radio set frequency logic

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 d7448a8d
...@@ -247,7 +247,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int freq) ...@@ -247,7 +247,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int freq)
tuner_warn ("tuner type not set\n"); tuner_warn ("tuner type not set\n");
return; return;
} }
if (analog_ops->set_params) { if (NULL == analog_ops->set_params) {
tuner_warn ("tuner has no way to set radio frequency\n"); tuner_warn ("tuner has no way to set radio frequency\n");
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册