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

V4L/DVB (4175): Fix a bug in tuner detection

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 de1e6ec9
......@@ -1103,10 +1103,17 @@ static int dst_get_device_id(struct dst_state *state)
// if (p_dst_type->tuner_type != TUNER_TYPE_MULTI) {
/* Multiple tuners */
if (p_dst_type->tuner_type & TUNER_TYPE_MULTI) {
/* STV0299 check */
if (dst_check_stv0299(state) < 0)
dprintk(verbose, DST_ERROR, 1, "Unsupported");
/* MB86A15 check */
switch (use_dst_type) {
case DST_TYPE_IS_SAT:
/* STV0299 check */
if (dst_check_stv0299(state) < 0) {
dprintk(verbose, DST_ERROR, 1, "Unsupported");
state->tuner_type = TUNER_TYPE_MB86A15;
}
break;
default:
break;
}
if (dst_check_mb86a15(state) < 0)
dprintk(verbose, DST_ERROR, 1, "Unsupported");
/* Single tuner */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册