aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis
diff options
context:
space:
mode:
authorSigmund Augdal <sigmund@snap.tv>2009-12-04 03:24:01 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:55:38 -0500
commitb29453aca0eeecba52a76c3d67b1a52c3ca6e656 (patch)
tree48b5ea0d1b454dccbdbd1c32951d76473606d7e5 /drivers/media/dvb/mantis
parent8b9c385f765bcc7fc5ae802830ffcb4b6ca6bc9c (diff)
V4L/DVB (13766): [Mantis] Bug: Fix wrong exit condition
Signed-off-by: Sigmund Augdal <sigmund@snap.tv> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis')
-rw-r--r--drivers/media/dvb/mantis/mantis_evm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb/mantis/mantis_evm.c b/drivers/media/dvb/mantis/mantis_evm.c
index 532bcfff5ae6..214ae5ee31ec 100644
--- a/drivers/media/dvb/mantis/mantis_evm.c
+++ b/drivers/media/dvb/mantis/mantis_evm.c
@@ -31,8 +31,6 @@ static void mantis_hifevm_work(struct work_struct *work)
31 31
32 gpif_stat = mmread(MANTIS_GPIF_STATUS); 32 gpif_stat = mmread(MANTIS_GPIF_STATUS);
33 gpif_mask = mmread(MANTIS_GPIF_IRQCFG); 33 gpif_mask = mmread(MANTIS_GPIF_IRQCFG);
34 if (!((gpif_stat & 0xff) & (gpif_mask & 0xff)))
35 return;
36 34
37 if (gpif_stat & MANTIS_GPIF_DETSTAT) { 35 if (gpif_stat & MANTIS_GPIF_DETSTAT) {
38 if (gpif_stat & MANTIS_CARD_PLUGIN) { 36 if (gpif_stat & MANTIS_CARD_PLUGIN) {