aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ucb1x00-core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c
index aff83f966803..c8426a9bf273 100644
--- a/drivers/mfd/ucb1x00-core.c
+++ b/drivers/mfd/ucb1x00-core.c
@@ -420,8 +420,10 @@ static int ucb1x00_detect_irq(struct ucb1x00 *ucb)
420 unsigned long mask; 420 unsigned long mask;
421 421
422 mask = probe_irq_on(); 422 mask = probe_irq_on();
423 if (!mask) 423 if (!mask) {
424 probe_irq_off(mask);
424 return NO_IRQ; 425 return NO_IRQ;
426 }
425 427
426 /* 428 /*
427 * Enable the ADC interrupt. 429 * Enable the ADC interrupt.