summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-simple.c
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-08-30 15:18:50 +0000
committerMichael Krufky <devnull@localhost>2005-08-30 15:18:50 +0000
commitc97244bb4fb6fb268ef032aeefd1b689c977634a (patch)
treedd457d326493470448a18d18751874ef99bcd2f6 /linux/drivers/media/video/tuner-simple.c
parent8f30d6e37f1ea1d6e37a159e108c8d628a14f31a (diff)
downloadmediapointer-dvb-s2-c97244bb4fb6fb268ef032aeefd1b689c977634a.tar.gz
mediapointer-dvb-s2-c97244bb4fb6fb268ef032aeefd1b689c977634a.tar.bz2
* 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 <hverkuil@xs4all.nl> * cx88-video.c: (cx8800_resume): - removed trailing whitespace. * Changelog: - fixed some entries missing mchehab's login. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/tuner-simple.c')
-rw-r--r--linux/drivers/media/video/tuner-simple.c6
1 files changed, 5 insertions, 1 deletions
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;