提交 cea0213d 编写于 作者: A Andy Walls 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NAndy Walls <awalls@radix.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 48f98f75
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册