]> err.no Git - linux-2.6/commitdiff
[PATCH] v4l: 866: fix bug with setting mt2050 radio frequency
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Wed, 9 Nov 2005 05:38:17 +0000 (21:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:26 +0000 (07:56 -0800)
- Fix bug with setting mt2050 radio frequency

Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/mt20xx.c

index 13b61c4dcbf856d2d0164cd049de4899347803ac..2180018f06de95af017850d319441650d1f16acb 100644 (file)
@@ -455,7 +455,7 @@ static void mt2050_set_radio_freq(struct i2c_client *c, unsigned int freq)
        struct tuner *t = i2c_get_clientdata(c);
        int if2 = t->radio_if2;
 
-       mt2050_set_if_freq(c, freq*62500, if2);
+       mt2050_set_if_freq(c, freq * 1000 / 16, if2);
        mt2050_set_antenna(c, radio_antenna);
 }