From c97244bb4fb6fb268ef032aeefd1b689c977634a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Tue, 30 Aug 2005 15:18:50 +0000 Subject: * tuner-simple.c: (default_set_radio_freq): - The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio. Signed-off-by: Hans Verkuil * cx88-video.c: (cx8800_resume): - removed trailing whitespace. * Changelog: - fixed some entries missing mchehab's login. Signed-off-by: Michael Krufky --- linux/drivers/media/video/tuner-simple.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/tuner-simple.c') diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index b7dbdb1e5..fc1c2b275 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-simple.c,v 1.48 2005/08/30 05:20:08 mkrufky Exp $ + * $Id: tuner-simple.c,v 1.49 2005/08/30 15:18:50 mkrufky Exp $ * * i2c tv tuner chip device driver * controls all those simple 4-control-bytes style tuners. @@ -486,6 +486,10 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq) case TUNER_LG_PAL_FM: buffer[3] = 0xa5; break; + case TUNER_MICROTUNE_4049FM5: + div = (20 * freq) / 16000 + (int)(33.3 * 20); /* IF 33.3 MHz */ + buffer[3] = 0xa4; + break; default: buffer[3] = 0xa4; break; -- cgit v1.2.3