From 8a794ae42255103004738460ac18f0bb9a4c29f4 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sat, 18 Jun 2005 06:04:01 +0000 Subject: Fix tuning --- linux/drivers/media/video/tda8290.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux') 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; } -- cgit v1.2.3