summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/via_irq.c6
1 files changed, 5 insertions, 1 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)