aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/dib7000p.c
diff options
context:
space:
mode:
authorOlivier DANET <odanet@caramail.com>2007-07-25 14:42:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:03:14 -0300
commit54d75ebaa02809f24a16624e32706af3bf97588e (patch)
tree2ca1bd9734ebc62531614c4b6fd008621c869734 /drivers/media/dvb/frontends/dib7000p.c
parent59a00adbd30ed5d3a97ac41ad9e4b040a111eea8 (diff)
V4L/DVB (5914): Add initial support for Dual-DVB-T stick
Add initial support for Dual-DVB-T stick based on DiB7700 and MT2266 - Microtune MT2266 driver. - Preliminary support for these dual tuner devices : - Pinnacle Dual DVB-T diversity - Terratec Cinergy DT USB XS diversity - Hauppauge Nova TD USB Signed-off-by: Olivier DANET <odanet@caramail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000p.c')
-rw-r--r--drivers/media/dvb/frontends/dib7000p.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c
index aece458cfe1..c24189fcbc8 100644
--- a/drivers/media/dvb/frontends/dib7000p.c
+++ b/drivers/media/dvb/frontends/dib7000p.c
@@ -112,6 +112,11 @@ static int dib7000p_set_output_mode(struct dib7000p_state *state, int mode)
break;
}
+ if (state->cfg.hostbus_diversity) {
+ ret |= dib7000p_write_word(state, 204, 1); // Diversity ?
+ ret |= dib7000p_write_word(state, 205, 0); // Diversity ?
+ }
+
if (state->cfg.output_mpeg2_in_188_bytes)
smo_mode |= (1 << 5) ;