mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
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>
This commit is contained in:
parent
8b9c385f76
commit
b29453aca0
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user