mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
V4L/DVB (6953): Fix radio set frequency logic
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
@@ -247,7 +247,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int freq)
|
||||
tuner_warn ("tuner type not set\n");
|
||||
return;
|
||||
}
|
||||
if (analog_ops->set_params) {
|
||||
if (NULL == analog_ops->set_params) {
|
||||
tuner_warn ("tuner has no way to set radio frequency\n");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user