diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 1516ab77355c..8c68d5b95d48 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -768,7 +768,7 @@ int request_irq(unsigned int irq, irq_handler_t handler, | |||
768 | kfree(action); | 768 | kfree(action); |
769 | 769 | ||
770 | #ifdef CONFIG_DEBUG_SHIRQ | 770 | #ifdef CONFIG_DEBUG_SHIRQ |
771 | if (irqflags & IRQF_SHARED) { | 771 | if (!retval && (irqflags & IRQF_SHARED)) { |
772 | /* | 772 | /* |
773 | * It's a shared IRQ -- the driver ought to be prepared for it | 773 | * It's a shared IRQ -- the driver ought to be prepared for it |
774 | * to happen immediately, so let's make sure.... | 774 | * to happen immediately, so let's make sure.... |