diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-05 16:37:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 19:04:33 -0200 |
commit | e545d6e2760b51163da141caffd288572c2db08d (patch) | |
tree | cf39151ed91d37838c21e36b38b2ab7de1d9602a /drivers/media/video/tuner-core.c | |
parent | d7448a8d9d06ca2ca4fd1f17404450ecba8bea3a (diff) | |
download | op-kernel-dev-e545d6e2760b51163da141caffd288572c2db08d.zip op-kernel-dev-e545d6e2760b51163da141caffd288572c2db08d.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 67b9ed1..35976e6 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; } |