[media] dvb:tc90522: fix always-false expression
authorAkihiro Tsukada <tskd08@gmail.com>
Fri, 31 Oct 2014 13:21:50 +0000 (10:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 18:40:10 +0000 (16:40 -0200)
Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
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;