summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBryan Scott2006-06-21 15:28:12 +0200
committerMauro Carvalho Chehab2006-06-25 07:05:17 +0200
commit3da2f4c0c64f4267594016c7bda3cc13fe7c95fb (patch)
tree70beb31b72e8e6a1f5e3161b84975dda36758512 /drivers
parentV4L/DVB (4169): Add more Firmware and Tuner names (diff)
downloadkernel-qcow2-linux-3da2f4c0c64f4267594016c7bda3cc13fe7c95fb.tar.gz
kernel-qcow2-linux-3da2f4c0c64f4267594016c7bda3cc13fe7c95fb.tar.xz
kernel-qcow2-linux-3da2f4c0c64f4267594016c7bda3cc13fe7c95fb.zip
V4L/DVB (4170): ATSC typecheck bugfix
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/bt8xx/dst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c
index 55a00cf04572..97d6c632542a 100644
--- a/drivers/media/dvb/bt8xx/dst.c
+++ b/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) {