提交 54fb122d 编写于 作者: M Manu Abraham 提交者: Mauro Carvalho Chehab

V4L/DVB (9460): Code Simplification

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 e94a4470
......@@ -1537,20 +1537,18 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
u32 SearchRange, gain;
i_params->freq = params->frequency;
switch (state->delsys) {
case DVBFE_DELSYS_DVBS:
dprintk(verbose, FE_ERROR, 1, "set DVB-S params");
i_params->freq = params->frequency;
i_params->srate = params->delsys.dvbs.symbol_rate;
break;
case DVBFE_DELSYS_DSS:
dprintk(verbose, FE_ERROR, 1, "set DSS params");
i_params->freq = params->frequency;
i_params->srate = params->delsys.dss.symbol_rate;
break;
case DVBFE_DELSYS_DVBS2:
dprintk(verbose, FE_ERROR, 1, "set DVB-S2 params");
i_params->freq = params->frequency;
i_params->srate = params->delsys.dvbs2.symbol_rate;
break;
default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册