Don't spam dmesg if PMC_INTSTAT is 0

This commit is contained in:
Ben Skeggs 2006-11-21 11:41:46 +11:00
parent 9ac7a8b0b4
commit adf71cb29b

View file

@ -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);