Skip to contentSkip to conversation

dvb:tc90522: fix always-false expression

PATCH New [email protected] 1 participant 1 message Oct 31, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH v2 1/1 dvb:tc90522: fix always-false expression

From: Akihiro Tsukada <[email protected]>

---
 drivers/media/dvb-frontends/tc90522.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/tc90522.c +1 -1
index d9905fb..bca81ef 100644
@@ -363,7 +363,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;
Signature · 1 line
2.1.3