V4L/DVB (4175): Fix a bug in tuner detection
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
de1e6ec9f2
commit
b32474cb83
@ -1103,10 +1103,17 @@ static int dst_get_device_id(struct dst_state *state)
|
|||||||
// if (p_dst_type->tuner_type != TUNER_TYPE_MULTI) {
|
// if (p_dst_type->tuner_type != TUNER_TYPE_MULTI) {
|
||||||
/* Multiple tuners */
|
/* Multiple tuners */
|
||||||
if (p_dst_type->tuner_type & TUNER_TYPE_MULTI) {
|
if (p_dst_type->tuner_type & TUNER_TYPE_MULTI) {
|
||||||
/* STV0299 check */
|
switch (use_dst_type) {
|
||||||
if (dst_check_stv0299(state) < 0)
|
case DST_TYPE_IS_SAT:
|
||||||
dprintk(verbose, DST_ERROR, 1, "Unsupported");
|
/* STV0299 check */
|
||||||
/* MB86A15 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)
|
if (dst_check_mb86a15(state) < 0)
|
||||||
dprintk(verbose, DST_ERROR, 1, "Unsupported");
|
dprintk(verbose, DST_ERROR, 1, "Unsupported");
|
||||||
/* Single tuner */
|
/* Single tuner */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user