diff options
Diffstat (limited to 'kernel/irq/spurious.c')
-rw-r--r-- | kernel/irq/spurious.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index ca187b83f897..b483deed311c 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c | |||
@@ -79,7 +79,7 @@ static int misrouted_irq(int irq, struct pt_regs *regs) | |||
79 | * If we did actual work for the real IRQ line we must let the | 79 | * If we did actual work for the real IRQ line we must let the |
80 | * IRQ controller clean up too | 80 | * IRQ controller clean up too |
81 | */ | 81 | */ |
82 | if (work) | 82 | if (work && desc->chip && desc->chip->end) |
83 | desc->chip->end(i); | 83 | desc->chip->end(i); |
84 | spin_unlock(&desc->lock); | 84 | spin_unlock(&desc->lock); |
85 | } | 85 | } |