[PATCH 15/16] msi3101: changes for tuner PLL freq limits

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

 



I made some tuner freq limit tests against RF signal generator.
Adjust some PLL limits according to these test results.

Here are the results, taken from two different devices.
Numbers are RF limits and calculated and VCO limits.

Mirics MSi3101 SDR Dongle:
VHF_MODE  52 - 132  1664 - 4224
B3_MODE  103 - 263  1648 - 4208
B45_MODE 413 - 960  1652 - 3840

Hauppauge WinTV 133559 LF:
VHF_MODE  49 - 130  1568 - 4160
B3_MODE   98 - 259  1568 - 4144
B45_MODE 391 - 960  1564 - 3840

Signed-off-by: Antti Palosaari <crope@xxxxxx>
---
 drivers/staging/media/msi3101/sdr-msi3101.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c
index c4bd963..e7a21a2 100644
--- a/drivers/staging/media/msi3101/sdr-msi3101.c
+++ b/drivers/staging/media/msi3101/sdr-msi3101.c
@@ -1306,11 +1306,11 @@ static int msi3101_set_tuner(struct msi3101_state *s)
 		u8 mode;
 		u8 lo_div;
 	} band_lut[] = {
-		{ 30000000, 0x01, 16}, /* AM_MODE1 */
+		{ 47000000, 0x01, 16}, /* AM_MODE1 */
 		{108000000, 0x02, 32}, /* VHF_MODE */
-		{240000000, 0x04, 16}, /* B3_MODE */
+		{330000000, 0x04, 16}, /* B3_MODE */
 		{960000000, 0x08,  4}, /* B45_MODE */
-		{167500000, 0x10,  2}, /* BL_MODE */
+		{      ~0U, 0x10,  2}, /* BL_MODE */
 	};
 	static const struct {
 		u32 freq;
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux