Skip to content

Commit

Permalink
[media] dvb:tc90522: fix always-false expression
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
  • Loading branch information
Akihiro Tsukada authored and Mauro Carvalho Chehab committed Nov 3, 2014
1 parent 8e281fa commit 01bd399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/tc90522.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01bd399

Please sign in to comment.