summaryrefslogtreecommitdiff
path: root/drivers/staging/media/msi3101
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-08-07 13:20:29 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-20 16:07:54 -0300
commit093cdc79a96d598ab31a829e12b4547d8ca15d4a (patch)
tree72c69bf3cc6b744549001098454a9b1cbd43e71b /drivers/staging/media/msi3101
parent8e2efac7d2873ed81b536b8b1462b5e1eeefc2ab (diff)
[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 <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/staging/media/msi3101')
-rw-r--r--drivers/staging/media/msi3101/sdr-msi3101.c6
1 files 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;