summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-05-21 11:49:28 -0400
committerMichael Krufky <mkrufky@kernellabs.com>2009-05-21 11:49:28 -0400
commit04ef26ec109fff2b6d310da4dabdafc4135ad058 (patch)
tree19203e198606255bbfe8cd48b85ba44aafa7f5e1 /linux/drivers
parentfaf2a349d29687e3f55dbe86d0728c549bd33ff1 (diff)
downloadmediapointer-dvb-s2-04ef26ec109fff2b6d310da4dabdafc4135ad058.tar.gz
mediapointer-dvb-s2-04ef26ec109fff2b6d310da4dabdafc4135ad058.tar.bz2
cx23885: ensure correct IF freq is used on HVR1200 & HVR1700
From: Michael Krufky <mkrufky@kernellabs.com> Ensure that we're programming the tda18271 tuner with the correct IF frequencies to match the programming of the TDA10048 DVB-T demod for the HVR1200 and HVR1700 products. Priority: high Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-dvb.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c
index 4efc7dee1..499beaf3d 100644
--- a/linux/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c
@@ -242,12 +242,22 @@ static struct tda18271_std_map hauppauge_tda18271_std_map = {
.if_lvl = 6, .rfagc_top = 0x37 },
};
+static struct tda18271_std_map hauppauge_hvr1200_tda18271_std_map = {
+ .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
+ .if_lvl = 1, .rfagc_top = 0x37, },
+ .dvbt_7 = { .if_freq = 3800, .agc_mode = 3, .std = 5,
+ .if_lvl = 1, .rfagc_top = 0x37, },
+ .dvbt_8 = { .if_freq = 4300, .agc_mode = 3, .std = 6,
+ .if_lvl = 1, .rfagc_top = 0x37, },
+};
+
static struct tda18271_config hauppauge_tda18271_config = {
.std_map = &hauppauge_tda18271_std_map,
.gate = TDA18271_GATE_ANALOG,
};
static struct tda18271_config hauppauge_hvr1200_tuner_config = {
+ .std_map = &hauppauge_hvr1200_tda18271_std_map,
.gate = TDA18271_GATE_ANALOG,
};