Commit cea0213d authored by Andy Walls's avatar Andy Walls Committed by Mauro Carvalho Chehab

V4L/DVB (11233): mxl5005s: Switch in mxl5005s_set_params should operate on correct values

Signed-off-by: default avatarAndy Walls <awalls@radix.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 48f98f75
...@@ -4003,12 +4003,11 @@ static int mxl5005s_set_params(struct dvb_frontend *fe, ...@@ -4003,12 +4003,11 @@ static int mxl5005s_set_params(struct dvb_frontend *fe,
/* Change tuner for new modulation type if reqd */ /* Change tuner for new modulation type if reqd */
if (req_mode != state->current_mode) { if (req_mode != state->current_mode) {
switch (req_mode) { switch (req_mode) {
case VSB_8: case MXL_ATSC:
case QAM_64: case MXL_QAM:
case QAM_256:
case QAM_AUTO:
req_bw = MXL5005S_BANDWIDTH_6MHZ; req_bw = MXL5005S_BANDWIDTH_6MHZ;
break; break;
case MXL_DVBT:
default: default:
/* Assume DVB-T */ /* Assume DVB-T */
switch (params->u.ofdm.bandwidth) { switch (params->u.ofdm.bandwidth) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment