From 093cdc79a96d598ab31a829e12b4547d8ca15d4a Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Wed, 7 Aug 2013 13:20:29 -0300 Subject: [PATCH] [media] msi3101: changes for tuner PLL freq limits 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. Ranges are measured RF limits + calculated 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 Signed-off-by: Mauro Carvalho Chehab --- 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 c4bd9630eea1..e7a21a2309f2 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; -- 2.39.5