Ver código fonte

[media] dvb:tc90522: fix always-false expression

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Akihiro Tsukada 10 anos atrás
pai
commit
01bd399a10
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/media/dvb-frontends/tc90522.c

+ 1 - 1
drivers/media/dvb-frontends/tc90522.c

@@ -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;