summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tc90522.c
diff options
context:
space:
mode:
authorAkihiro Tsukada <tskd08@gmail.com>2014-10-31 14:21:50 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 19:40:10 +0100
commit01bd399a10eabddcc57ed489edcdd677a450119c (patch)
treec44536a00c3a7a7355adb76e0687ee3068e7a42a /drivers/media/dvb-frontends/tc90522.c
parent[media] dvb-core: set default properties of ISDB-S (diff)
downloadlinux-01bd399a10eabddcc57ed489edcdd677a450119c.tar.xz
linux-01bd399a10eabddcc57ed489edcdd677a450119c.zip
[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>
Diffstat (limited to 'drivers/media/dvb-frontends/tc90522.c')
-rw-r--r--drivers/media/dvb-frontends/tc90522.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c
index ad3351f233a1..b35d65c9cc05 100644
--- a/drivers/media/dvb-frontends/tc90522.c
+++ b/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;