diff options
Diffstat (limited to 'kernel/irq/autoprobe.c')
-rw-r--r-- | kernel/irq/autoprobe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c index 5c988bba401f..ed98c7d46cf2 100644 --- a/kernel/irq/autoprobe.c +++ b/kernel/irq/autoprobe.c | |||
@@ -40,7 +40,7 @@ unsigned long probe_irq_on(void) | |||
40 | desc = irq_desc + i; | 40 | desc = irq_desc + i; |
41 | 41 | ||
42 | spin_lock_irq(&desc->lock); | 42 | spin_lock_irq(&desc->lock); |
43 | if (!desc->action) | 43 | if (!desc->action && !(desc->status & IRQ_NOPROBE)) |
44 | desc->chip->startup(i); | 44 | desc->chip->startup(i); |
45 | spin_unlock_irq(&desc->lock); | 45 | spin_unlock_irq(&desc->lock); |
46 | } | 46 | } |
@@ -57,7 +57,7 @@ unsigned long probe_irq_on(void) | |||
57 | desc = irq_desc + i; | 57 | desc = irq_desc + i; |
58 | 58 | ||
59 | spin_lock_irq(&desc->lock); | 59 | spin_lock_irq(&desc->lock); |
60 | if (!desc->action) { | 60 | if (!desc->action && !(desc->status & IRQ_NOPROBE)) { |
61 | desc->status |= IRQ_AUTODETECT | IRQ_WAITING; | 61 | desc->status |= IRQ_AUTODETECT | IRQ_WAITING; |
62 | if (desc->chip->startup(i)) | 62 | if (desc->chip->startup(i)) |
63 | desc->status |= IRQ_PENDING; | 63 | desc->status |= IRQ_PENDING; |