diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-05 17:37:04 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-05 17:37:04 -0200 |
commit | 32c7f08554e7096d41c6dceb77833b25f68fde36 (patch) | |
tree | a1991cbdb8ea0661d965d32676526ad87289e200 /linux/drivers/media/video/tuner-core.c | |
parent | 55d8d49cc70bab1115e2ce34939ca5b5db5b3dfb (diff) | |
download | mediapointer-dvb-s2-32c7f08554e7096d41c6dceb77833b25f68fde36.tar.gz mediapointer-dvb-s2-32c7f08554e7096d41c6dceb77833b25f68fde36.tar.bz2 |
Fix radio set frequency logic
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index f6608f1b2..d93a764aa 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -276,7 +276,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; } |