diff options
author | Anton Blanchard <anton@samba.org> | 2008-08-09 11:23:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:49 -0400 |
commit | 8d79898897f8afee182febef18b96f559d32ebc4 (patch) | |
tree | 57d4780e3def9c20e72d7f29691e7bc6195f1d5b /drivers/media/dvb/frontends/dib7000p.c | |
parent | f723af16da8359cda47320001960609b0086082b (diff) |
V4L/DVB (8654): cxusb: add support for DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2)
Add support for revision 2 of the DViCO FusionHDTV DVB-T Dual Digital 4
which has new tuners and demodulators (2 x DIB7070p). With this patch
both DVB reception and IR works.
The dib7000p driver currently hardwires the output mode to
OUTMODE_MPEG2_SERIAL regardless of what we ask for. Modify it to allow
OUTMODE_MPEG2_PAR_GATED_CLK to be set. Longer term we should remove the
check completely and set the output mode correctly in all the callers.
Add Kconfig bits to ensure the dib7000p and dib0070 modules are enabled.
It would be nice to only do this for the !DVB_FE_CUSTOMISE case, but
this is what the other DIB7070 module does (there are a number of
module dependencies in the attach code).
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000p.c')
-rw-r--r-- | drivers/media/dvb/frontends/dib7000p.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c index 1a0142e0d74..8217e5b38f4 100644 --- a/drivers/media/dvb/frontends/dib7000p.c +++ b/drivers/media/dvb/frontends/dib7000p.c | |||
@@ -1333,7 +1333,8 @@ struct dvb_frontend * dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, | |||
1333 | /* Ensure the output mode remains at the previous default if it's | 1333 | /* Ensure the output mode remains at the previous default if it's |
1334 | * not specifically set by the caller. | 1334 | * not specifically set by the caller. |
1335 | */ | 1335 | */ |
1336 | if (st->cfg.output_mode != OUTMODE_MPEG2_SERIAL) | 1336 | if ((st->cfg.output_mode != OUTMODE_MPEG2_SERIAL) && |
1337 | (st->cfg.output_mode != OUTMODE_MPEG2_PAR_GATED_CLK)) | ||
1337 | st->cfg.output_mode = OUTMODE_MPEG2_FIFO; | 1338 | st->cfg.output_mode = OUTMODE_MPEG2_FIFO; |
1338 | 1339 | ||
1339 | demod = &st->demod; | 1340 | demod = &st->demod; |