aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2005-09-09 16:03:56 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 16:57:52 -0400
commit33ac6b52679743c3dbb7c7245f1df90588ee1097 (patch)
tree2ad4999701e28428243d99f57b6600dec771f08c
parent08adb9e20be83bb4c5322bf15b966c537038f6d9 (diff)
[PATCH] v4l: the Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio.
- The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/video/bttv-cards.c4
-rw-r--r--drivers/media/video/tuner-simple.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/video/bttv-cards.c b/drivers/media/video/bttv-cards.c
index 64785d3fe838..10ab12ba4c6d 100644
--- a/drivers/media/video/bttv-cards.c
+++ b/drivers/media/video/bttv-cards.c
@@ -299,8 +299,8 @@ static struct CARD {
299 { 0x00011822, BTTV_TWINHAN_DST, "Twinhan VisionPlus DVB" }, 299 { 0x00011822, BTTV_TWINHAN_DST, "Twinhan VisionPlus DVB" },
300 { 0xfc00270f, BTTV_TWINHAN_DST, "ChainTech digitop DST-1000 DVB-S" }, 300 { 0xfc00270f, BTTV_TWINHAN_DST, "ChainTech digitop DST-1000 DVB-S" },
301 { 0x07711461, BTTV_AVDVBT_771, "AVermedia AverTV DVB-T 771" }, 301 { 0x07711461, BTTV_AVDVBT_771, "AVermedia AverTV DVB-T 771" },
302 { 0xdb1018ac, BTTV_DVICO_DVBT_LITE, "DVICO FusionHDTV DVB-T Lite" }, 302 { 0xdb1018ac, BTTV_DVICO_DVBT_LITE, "DViCO FusionHDTV DVB-T Lite" },
303 { 0xd50018ac, BTTV_DVICO_FUSIONHDTV_5_LITE, "DVICO FusionHDTV 5 Lite" }, 303 { 0xd50018ac, BTTV_DVICO_FUSIONHDTV_5_LITE, "DViCO FusionHDTV 5 Lite" },
304 304
305 { 0, -1, NULL } 305 { 0, -1, NULL }
306}; 306};
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index 61dee53d328f..8edd73abe1d8 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -468,6 +468,10 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq)
468 case TUNER_LG_PAL_FM: 468 case TUNER_LG_PAL_FM:
469 buffer[3] = 0xa5; 469 buffer[3] = 0xa5;
470 break; 470 break;
471 case TUNER_MICROTUNE_4049FM5:
472 div = (20 * freq) / 16000 + (int)(33.3 * 20); /* IF 33.3 MHz */
473 buffer[3] = 0xa4;
474 break;
471 default: 475 default:
472 buffer[3] = 0xa4; 476 buffer[3] = 0xa4;
473 break; 477 break;