summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2006-11-21 11:41:46 +1100
committerBen Skeggs <darktama@iinet.net.au>2006-11-21 11:41:46 +1100
commitadf71cb29b72b7d199f737b7b00eb7e80939ea4b (patch)
tree110b7a2958d8047a2abb1ad0625476c3fd28e322 /shared-core
parent9ac7a8b0b4c0431b605c3f8d0b4a696903010c51 (diff)
Don't spam dmesg if PMC_INTSTAT is 0
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_irq.c b/shared-core/nouveau_irq.c
index 9131125f..160016ea 100644
--- a/shared-core/nouveau_irq.c
+++ b/shared-core/nouveau_irq.c
@@ -385,6 +385,8 @@ irqreturn_t nouveau_irq_handler(DRM_IRQ_ARGS)
uint32_t status;
status = NV_READ(NV_PMC_INTSTAT);
+ if (!status)
+ return IRQ_NONE;
DRM_DEBUG("PMC INTSTAT: 0x%08x\n", status);