summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib7000p.c
diff options
context:
space:
mode:
authorOlivier DANET <odanet@caramail.com>2007-07-25 19:42:54 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-10 03:03:14 +0200
commit54d75ebaa02809f24a16624e32706af3bf97588e (patch)
tree2ca1bd9734ebc62531614c4b6fd008621c869734 /drivers/media/dvb/frontends/dib7000p.c
parentV4L/DVB (5913): Clean up duplicate includes in include/media/ (diff)
downloadlinux-54d75ebaa02809f24a16624e32706af3bf97588e.tar.xz
linux-54d75ebaa02809f24a16624e32706af3bf97588e.zip
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 aece458cfe12..c24189fcbc89 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) ;