]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4170): ATSC typecheck bugfix
authorBryan Scott <sirbryan@gmail.com>
Wed, 21 Jun 2006 13:28:12 +0000 (10:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:05:17 +0000 (02:05 -0300)
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>
drivers/media/dvb/bt8xx/dst.c

index 55a00cf04572790f9dc94e326439c66d138cb1e4..97d6c632542a050fd1c96e488d8eb21e83bf7ac1 100644 (file)
@@ -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) {