summaryrefslogtreecommitdiff
path: root/drivers/media/video/mt20xx.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2005-11-09 08:38:17 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 18:56:26 +0300
commite9d096dc52493228ce1ae0fbed1d2fe0271fbe16 (patch)
tree3f5e1d2d81ab4f9df1207a9e7bd596b847a25bbf /drivers/media/video/mt20xx.c
parentaa8d5e72c3b2dbd18e494564345e84a0b890dd7b (diff)
downloadlinux-e9d096dc52493228ce1ae0fbed1d2fe0271fbe16.tar.xz
[PATCH] v4l: 866: fix bug with setting mt2050 radio frequency
- 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>
Diffstat (limited to 'drivers/media/video/mt20xx.c')
-rw-r--r--drivers/media/video/mt20xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mt20xx.c b/drivers/media/video/mt20xx.c
index 13b61c4dcbf8..2180018f06de 100644
--- a/drivers/media/video/mt20xx.c
+++ b/drivers/media/video/mt20xx.c
@@ -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);
}