[PATCH 17/24] V4L: The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



.
- The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio.

Signed-off-by: Hans Verkuil <[email protected]>

 linux/drivers/media/video/bttv-cards.c      |    4 ++--
 linux/drivers/media/video/cx88/cx88-video.c |    2 +-
 linux/drivers/media/video/tuner-simple.c    |    4 ++++
 3 files changed, 7 insertions(+), 3 deletions(-)

diff -u /tmp/dst.689 linux/drivers/media/video/bttv-cards.c
--- /tmp/dst.689	2005-09-05 11:43:04.000000000 -0300
+++ linux/drivers/media/video/bttv-cards.c	2005-09-05 11:43:04.000000000 -0300
@@ -299,8 +299,8 @@
 	{ 0x00011822, BTTV_TWINHAN_DST,   "Twinhan VisionPlus DVB" },
 	{ 0xfc00270f, BTTV_TWINHAN_DST,   "ChainTech digitop DST-1000 DVB-S" },
 	{ 0x07711461, BTTV_AVDVBT_771,    "AVermedia AverTV DVB-T 771" },
-	{ 0xdb1018ac, BTTV_DVICO_DVBT_LITE,    "DVICO FusionHDTV DVB-T Lite" },
-	{ 0xd50018ac, BTTV_DVICO_FUSIONHDTV_5_LITE,    "DVICO FusionHDTV 5 Lite" },
+	{ 0xdb1018ac, BTTV_DVICO_DVBT_LITE,    "DViCO FusionHDTV DVB-T Lite" },
+	{ 0xd50018ac, BTTV_DVICO_FUSIONHDTV_5_LITE,    "DViCO FusionHDTV 5 Lite" },
 
 	{ 0, -1, NULL }
 };
diff -u /tmp/dst.689 linux/drivers/media/video/cx88/cx88-video.c
--- /tmp/dst.689	2005-09-05 11:43:04.000000000 -0300
+++ linux/drivers/media/video/cx88/cx88-video.c	2005-09-05 11:43:04.000000000 -0300
@@ -2024,7 +2024,7 @@
 
 		pci_disable_device(pci_dev);
 		dev->state.disabled = 1;
-	
+
 		return err;
 	}
 	pci_restore_state(pci_dev);
diff -u /tmp/dst.689 linux/drivers/media/video/tuner-simple.c
--- /tmp/dst.689	2005-09-05 11:43:04.000000000 -0300
+++ linux/drivers/media/video/tuner-simple.c	2005-09-05 11:43:04.000000000 -0300
@@ -468,6 +468,10 @@
 	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;

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux