Skip to content

Commit

Permalink
V4L/DVB (4170): ATSC typecheck bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Scott <sirbryan@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Bryan Scott authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 4e7024b commit 3da2f4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/dvb/bt8xx/dst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3da2f4c

Please sign in to comment.