summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <devnull@localhost>2005-06-18 06:04:01 +0000
committerNickolay V. Shmyrev <devnull@localhost>2005-06-18 06:04:01 +0000
commit8a794ae42255103004738460ac18f0bb9a4c29f4 (patch)
tree19b26f28fdb5ca8c403869cbeb9e350671a22d0f /linux
parent4488f74ff66414c8e1aaa609db741ffec8207afc (diff)
downloadmediapointer-dvb-s2-8a794ae42255103004738460ac18f0bb9a4c29f4.tar.gz
mediapointer-dvb-s2-8a794ae42255103004738460ac18f0bb9a4c29f4.tar.bz2
Fix tuning
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/tda8290.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c
index dbf61a8de..ffae1bbfe 100644
--- a/linux/drivers/media/video/tda8290.c
+++ b/linux/drivers/media/video/tda8290.c
@@ -1,5 +1,5 @@
/*
- * $Id: tda8290.c,v 1.9 2005/06/16 08:29:49 nsh Exp $
+ * $Id: tda8290.c,v 1.10 2005/06/18 06:04:01 nsh Exp $
*
* i2c tv tuner chip device driver
* controls the philips tda8290+75 tuner chip combo.
@@ -154,8 +154,8 @@ static void set_frequency(struct tuner *t, u16 ifc)
t->i2c_set_freq[2] = (unsigned char) N;
t->i2c_set_freq[3] = 0x40;
t->i2c_set_freq[4] = 0x52;
- t->i2c_set_freq[5] = get_freq_entry(band_table, freq / 1000);
- t->i2c_set_freq[6] = get_freq_entry(agc_table, freq / 1000);
+ t->i2c_set_freq[5] = get_freq_entry(band_table, freq);
+ t->i2c_set_freq[6] = get_freq_entry(agc_table, freq);
t->i2c_set_freq[7] = 0x8f;
}