[media] dvb:tc90522: fix always-false expression
authorAkihiro Tsukada <[email protected]>
Fri, 31 Oct 2014 13:21:50 +0000 (10:21 -0300)
committerMauro Carvalho Chehab <[email protected]>
Mon, 3 Nov 2014 18:40:10 +0000 (16:40 -0200)
Signed-off-by: Akihiro Tsukada <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/dvb-frontends/tc90522.c

index ad3351f233a16257daebca721e385ef5d9f07ea9..b35d65c9cc059c3ee4ba4482c9cd629be07bd1b3 100644 (file)
@@ -361,7 +361,7 @@ static int tc90522t_get_frontend(struct dvb_frontend *fe)
                u8 v;
 
                c->isdbt_partial_reception = val[0] & 0x01;
-               c->isdbt_sb_mode = (val[0] & 0xc0) == 0x01;
+               c->isdbt_sb_mode = (val[0] & 0xc0) == 0x40;
 
                /* layer A */
                v = (val[2] & 0x78) >> 3;