Commit b29453ac authored by Sigmund Augdal's avatar Sigmund Augdal Committed by Mauro Carvalho Chehab

V4L/DVB (13766): [Mantis] Bug: Fix wrong exit condition

Signed-off-by: default avatarSigmund Augdal <sigmund@snap.tv>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8b9c385f
...@@ -31,8 +31,6 @@ static void mantis_hifevm_work(struct work_struct *work) ...@@ -31,8 +31,6 @@ static void mantis_hifevm_work(struct work_struct *work)
gpif_stat = mmread(MANTIS_GPIF_STATUS); gpif_stat = mmread(MANTIS_GPIF_STATUS);
gpif_mask = mmread(MANTIS_GPIF_IRQCFG); gpif_mask = mmread(MANTIS_GPIF_IRQCFG);
if (!((gpif_stat & 0xff) & (gpif_mask & 0xff)))
return;
if (gpif_stat & MANTIS_GPIF_DETSTAT) { if (gpif_stat & MANTIS_GPIF_DETSTAT) {
if (gpif_stat & MANTIS_CARD_PLUGIN) { if (gpif_stat & MANTIS_CARD_PLUGIN) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment