summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/via_irq.c6
-rw-r--r--shared/via_irq.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/shared-core/via_irq.c b/shared-core/via_irq.c
index 835b41cd..7e540cc1 100644
--- a/shared-core/via_irq.c
+++ b/shared-core/via_irq.c
@@ -65,7 +65,11 @@ irqreturn_t DRM(irq_handler)( DRM_IRQ_ARGS )
/* Acknowlege interrupts ?? */
VIA_WRITE(VIA_REG_INTERRUPT, status);
- return IRQ_RETVAL(handled);
+
+ if (handled)
+ return IRQ_HANDLED;
+ else
+ return IRQ_NONE;
}
static __inline__ void viadrv_acknowledge_irqs(drm_via_private_t* dev_priv)
diff --git a/shared/via_irq.c b/shared/via_irq.c
index 835b41cd..7e540cc1 100644
--- a/shared/via_irq.c
+++ b/shared/via_irq.c
@@ -65,7 +65,11 @@ irqreturn_t DRM(irq_handler)( DRM_IRQ_ARGS )
/* Acknowlege interrupts ?? */
VIA_WRITE(VIA_REG_INTERRUPT, status);
- return IRQ_RETVAL(handled);
+
+ if (handled)
+ return IRQ_HANDLED;
+ else
+ return IRQ_NONE;
}
static __inline__ void viadrv_acknowledge_irqs(drm_via_private_t* dev_priv)