diff options
author | Nickolay V. Shmyrev <devnull@localhost> | 2005-10-26 21:00:41 +0000 |
---|---|---|
committer | Nickolay V. Shmyrev <devnull@localhost> | 2005-10-26 21:00:41 +0000 |
commit | 35e555ec13875251134f4eaa6b1be76c5aa31abc (patch) | |
tree | c68d232d5c9c4ac4420ca1d9b577f6477da6de8e /linux/drivers | |
parent | 2b8538f5d379b5b7e40a95f577be4f51418d2cfb (diff) | |
download | mediapointer-dvb-s2-35e555ec13875251134f4eaa6b1be76c5aa31abc.tar.gz mediapointer-dvb-s2-35e555ec13875251134f4eaa6b1be76c5aa31abc.tar.bz2 |
* ../linux/drivers/media/video/mt20xx.c: (mt2050_set_radio_freq):
Fix bug with setting mt2050 radio frequency
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/mt20xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/mt20xx.c b/linux/drivers/media/video/mt20xx.c index 1b00ad329..10a99da0b 100644 --- a/linux/drivers/media/video/mt20xx.c +++ b/linux/drivers/media/video/mt20xx.c @@ -1,5 +1,5 @@ /* - * $Id: mt20xx.c,v 1.8 2005/10/16 12:13:58 mchehab Exp $ + * $Id: mt20xx.c,v 1.9 2005/10/26 21:00:41 nsh Exp $ * * i2c tv tuner chip device driver * controls microtune tuners, mt2032 + mt2050 at the moment. @@ -457,7 +457,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); } |