From: Andy Walls Date: Tue, 24 Mar 2009 01:32:35 +0000 (-0300) Subject: V4L/DVB (11233): mxl5005s: Switch in mxl5005s_set_params should operate on correct... X-Git-Tag: MMI-PSA29.97-13-9~29189^2~63 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cea0213de7e2376041bc1997a2303b09e7d5aad0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git V4L/DVB (11233): mxl5005s: Switch in mxl5005s_set_params should operate on correct values Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- 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, /* 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) {