提交 01bd399a 编写于 作者: A Akihiro Tsukada 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NAkihiro Tsukada <tskd08@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 8e281faf
...@@ -361,7 +361,7 @@ static int tc90522t_get_frontend(struct dvb_frontend *fe) ...@@ -361,7 +361,7 @@ static int tc90522t_get_frontend(struct dvb_frontend *fe)
u8 v; u8 v;
c->isdbt_partial_reception = val[0] & 0x01; 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 */ /* layer A */
v = (val[2] & 0x78) >> 3; v = (val[2] & 0x78) >> 3;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册