summaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-05 16:37:04 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:04:33 -0200
commite545d6e2760b51163da141caffd288572c2db08d (patch)
treecf39151ed91d37838c21e36b38b2ab7de1d9602a /drivers/media/video/tuner-core.c
parentd7448a8d9d06ca2ca4fd1f17404450ecba8bea3a (diff)
V4L/DVB (6953): Fix radio set frequency logic
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 1 insertions, 1 deletions
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;
}