summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2007-12-02 04:02:18 +0100
committerMauro Carvalho Chehab2008-01-25 22:03:00 +0100
commit5c15648a42016eebb9870dc3af44e94bca4f3604 (patch)
tree0284cd050c22b085a341aedee7bd1ad723cd12a8 /drivers/media/video/tuner-xc2028.c
parentV4L/DVB (6681): tda18271: rename 'debug' to 'tda18271_debug' (diff)
downloadkernel-qcow2-linux-5c15648a42016eebb9870dc3af44e94bca4f3604.tar.gz
kernel-qcow2-linux-5c15648a42016eebb9870dc3af44e94bca4f3604.tar.xz
kernel-qcow2-linux-5c15648a42016eebb9870dc3af44e94bca4f3604.zip
V4L/DVB (6683): Fix DVB compatibility
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>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index e1796ebb7c71..7acc175d805a 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -957,12 +957,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;
@@ -970,6 +972,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: