From: Mauro Carvalho Chehab Date: Sat, 5 Jan 2008 19:37:04 +0000 (-0300) Subject: V4L/DVB (6953): Fix radio set frequency logic X-Git-Tag: v2.6.25-rc1~1235^2~94 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e545d6e2760b51163da141caffd288572c2db08d;p=karo-tx-linux.git V4L/DVB (6953): Fix radio set frequency logic Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 67b9ed1ac71a..35976e6cb1b8 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c @@ -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; }