]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6953): Fix radio set frequency logic
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 5 Jan 2008 19:37:04 +0000 (16:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:33 +0000 (19:04 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-core.c

index 67b9ed1ac71a4accf655822acf1e9597a20c2d47..35976e6cb1b8a4181cd1aef9a7756b18d2c16dd3 100644 (file)
@@ -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;
        }