summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2006-06-21 17:28:12 +0400
committerManu Abraham <manu@linuxtv.org>2006-06-21 17:28:12 +0400
commit1e9603e20f99efa7adf5711fc3acb2819158d84d (patch)
tree114beaa74be5d7d8cdfd11ff47444e7da450ef10 /linux
parentcc9bdfcb477b454eef557cb86bd0776df047df05 (diff)
downloadmediapointer-dvb-s2-1e9603e20f99efa7adf5711fc3acb2819158d84d.tar.gz
mediapointer-dvb-s2-1e9603e20f99efa7adf5711fc3acb2819158d84d.tar.bz2
ATSC typecheck bugfix
From: Bryan Scott <sirbryan@gmail.com> Signed-off-by: Bryan Scott <sirbryan@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c
index 55a00cf04..97d6c6325 100644
--- a/linux/drivers/media/dvb/bt8xx/dst.c
+++ b/linux/drivers/media/dvb/bt8xx/dst.c
@@ -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) {