summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/tuners
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-03-23 21:32:35 -0400
committerAndy Walls <awalls@radix.net>2009-03-23 21:32:35 -0400
commit885a23d5d3b31b99d23ef1d05b212d9e3fbba93f (patch)
tree7dc909bc7b32c7e974ba5fc22ba79f024c91b64e /linux/drivers/media/common/tuners
parenta5118d42e7e2f3428a63605e6de010d17843d61e (diff)
downloadmediapointer-dvb-s2-885a23d5d3b31b99d23ef1d05b212d9e3fbba93f.tar.gz
mediapointer-dvb-s2-885a23d5d3b31b99d23ef1d05b212d9e3fbba93f.tar.bz2
mxl5005s: Switch in mxl5005s_set_params should operate on correct values
From: Andy Walls <awalls@radix.net> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/common/tuners')
-rw-r--r--linux/drivers/media/common/tuners/mxl5005s.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/common/tuners/mxl5005s.c b/linux/drivers/media/common/tuners/mxl5005s.c
index 58418277a..bea599fbc 100644
--- a/linux/drivers/media/common/tuners/mxl5005s.c
+++ b/linux/drivers/media/common/tuners/mxl5005s.c
@@ -4005,12 +4005,11 @@ static int mxl5005s_set_params(struct dvb_frontend *fe,
/* Change tuner for new modulation type if reqd */
if (req_mode != state->current_mode) {
switch (req_mode) {
- case VSB_8:
- case QAM_64:
- case QAM_256:
- case QAM_AUTO:
+ case MXL_ATSC:
+ case MXL_QAM:
req_bw = MXL5005S_BANDWIDTH_6MHZ;
break;
+ case MXL_DVBT:
default:
/* Assume DVB-T */
switch (params->u.ofdm.bandwidth) {