Commit 3da2f4c0 authored by Bryan Scott's avatar Bryan Scott Committed by Mauro Carvalho Chehab

V4L/DVB (4170): ATSC typecheck bugfix

Signed-off-by: default avatarBryan Scott <sirbryan@gmail.com>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 4e7024bd
......@@ -1000,11 +1000,11 @@ static int dst_get_tuner_info(struct dst_state *state)
// if (state->type_flags & DST_TYPE_HAS_TS204)
// state->type_flags &= ~DST_TYPE_HAS_TS204;
// state->type_flags |= DST_TYPE_HAS_NEWTUNE;
if (!(state->type_flags & DST_TYPE_IS_ATSC)) {
if (state->type_flags != DST_TYPE_IS_ATSC))
state->type_flags |= DST_TYPE_HAS_NEWTUNE;
} else {
else
state->type_flags |= DST_TYPE_HAS_NEWTUNE_2;
}
dprintk(verbose, DST_INFO, 1, "DST type has TS=188, Daughterboard=[%d]", state->board_info[1]);
} else if (state->board_info[0] == 0xcc) {
......
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