diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-05 14:37:04 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:33 -0500 |
commit | e545d6e2760b51163da141caffd288572c2db08d (patch) | |
tree | cf39151ed91d37838c21e36b38b2ab7de1d9602a /drivers/media/video | |
parent | d7448a8d9d06ca2ca4fd1f17404450ecba8bea3a (diff) |
V4L/DVB (6953): Fix radio set frequency logic
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-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 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) | |||
247 | tuner_warn ("tuner type not set\n"); | 247 | tuner_warn ("tuner type not set\n"); |
248 | return; | 248 | return; |
249 | } | 249 | } |
250 | if (analog_ops->set_params) { | 250 | if (NULL == analog_ops->set_params) { |
251 | tuner_warn ("tuner has no way to set radio frequency\n"); | 251 | tuner_warn ("tuner has no way to set radio frequency\n"); |
252 | return; | 252 | return; |
253 | } | 253 | } |