aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-03-23 21:32:35 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:42 -0400
commitcea0213de7e2376041bc1997a2303b09e7d5aad0 (patch)
tree8ee0cd7c1b5e5a5e70c4dd0ff02553bc386516a7 /drivers
parent48f98f7557d35d360470bf6d9fd7b00d04fba828 (diff)
V4L/DVB (11233): mxl5005s: Switch in mxl5005s_set_params should operate on correct values
Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/common/tuners/mxl5005s.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/mxl5005s.c b/drivers/media/common/tuners/mxl5005s.c
index 31522d2e318e..0803dab58fff 100644
--- a/drivers/media/common/tuners/mxl5005s.c
+++ b/drivers/media/common/tuners/mxl5005s.c
@@ -4003,12 +4003,11 @@ static int mxl5005s_set_params(struct dvb_frontend *fe,
4003 /* Change tuner for new modulation type if reqd */ 4003 /* Change tuner for new modulation type if reqd */
4004 if (req_mode != state->current_mode) { 4004 if (req_mode != state->current_mode) {
4005 switch (req_mode) { 4005 switch (req_mode) {
4006 case VSB_8: 4006 case MXL_ATSC:
4007 case QAM_64: 4007 case MXL_QAM:
4008 case QAM_256:
4009 case QAM_AUTO:
4010 req_bw = MXL5005S_BANDWIDTH_6MHZ; 4008 req_bw = MXL5005S_BANDWIDTH_6MHZ;
4011 break; 4009 break;
4010 case MXL_DVBT:
4012 default: 4011 default:
4013 /* Assume DVB-T */ 4012 /* Assume DVB-T */
4014 switch (params->u.ofdm.bandwidth) { 4013 switch (params->u.ofdm.bandwidth) {