V4L/DVB (13766): [Mantis] Bug: Fix wrong exit condition
authorSigmund Augdal <sigmund@snap.tv>
Fri, 4 Dec 2009 08:24:01 +0000 (05:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:38 +0000 (11:55 -0200)
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>
drivers/media/dvb/mantis/mantis_evm.c

index 532bcfff5ae6b2deae36614bf2acc0e53db3ed71..214ae5ee31ec7b1993ba12a0283f61c8d95ef772 100644 (file)
@@ -31,8 +31,6 @@ static void mantis_hifevm_work(struct work_struct *work)
 
        gpif_stat = mmread(MANTIS_GPIF_STATUS);
        gpif_mask = mmread(MANTIS_GPIF_IRQCFG);
-       if (!((gpif_stat & 0xff) & (gpif_mask & 0xff)))
-               return;
 
        if (gpif_stat & MANTIS_GPIF_DETSTAT) {
                if (gpif_stat & MANTIS_CARD_PLUGIN) {