summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-02 01:02:18 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-02 01:02:18 -0200
commita0d2792717f02f06a91f9c13e5e8daf01798a859 (patch)
treec2ff6a3d6b12444c47dfe8baf350b7387939cda2
parent156c8dae5bd45c5b5dbe6639ed84e63d7aecbae6 (diff)
downloadmediapointer-dvb-s2-a0d2792717f02f06a91f9c13e5e8daf01798a859.tar.gz
mediapointer-dvb-s2-a0d2792717f02f06a91f9c13e5e8daf01798a859.tar.bz2
Fix DVB compatibility
From: Mauro Carvalho Chehab <mchehab@infradead.org> DVB-S is not supported. Also, there are some QAM6 firmwares for xc3028, but it is reported that this doesn't work fine. Thanks to Manu Abraham, Michael Krufky and Patrick Boettcher for their insights. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/tuner-xc2028.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c
index 0689e1d58..745673be6 100644
--- a/linux/drivers/media/video/tuner-xc2028.c
+++ b/linux/drivers/media/video/tuner-xc2028.c
@@ -972,12 +972,14 @@ static int xc2028_set_params(struct dvb_frontend *fe,
type |= D2620;
switch(fe->ops.info.type) {
- case FE_QPSK:
- break;
case FE_OFDM:
bw = p->u.ofdm.bandwidth;
break;
case FE_QAM:
+ tuner_info("WARN: There are some reports that "
+ "QAM 6 MHz doesn't work.\n"
+ "If this works for you, please report by "
+ "e-mail to: v4l-dvb-maintainer@linuxtv.org\n");
bw = BANDWIDTH_6_MHZ;
type |= QAM;
break;
@@ -985,6 +987,9 @@ static int xc2028_set_params(struct dvb_frontend *fe,
bw = BANDWIDTH_6_MHZ;
type |= ATSC| D2633;
break;
+ /* DVB-S is not supported */
+ default:
+ return -EINVAL;
}
/* FIXME: