diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-05-30 00:47:34 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-08 18:16:08 -0400 |
commit | 6e19e837c8a731a7a54a195a3081c7f74657ced5 (patch) | |
tree | 581193d7d920cc9e20dc2b8a34066463f20ac82f /drivers/mfd/ab8500-gpadc.c | |
parent | e7c706b1e5ccf28eaaf76c7a4613e80b0ca52863 (diff) |
mfd: Enable IRQF_ONESHOT when requesting a threaded IRQ for ab8500gpadc
The kernel now forces IRQs to be ONESHOT if no IRQ handler is passed.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-gpadc.c')
-rw-r--r-- | drivers/mfd/ab8500-gpadc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index b86fd8e1ec3f..b6cbc3ba2695 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c | |||
@@ -599,7 +599,8 @@ static int __devinit ab8500_gpadc_probe(struct platform_device *pdev) | |||
599 | /* Register interrupt - SwAdcComplete */ | 599 | /* Register interrupt - SwAdcComplete */ |
600 | ret = request_threaded_irq(gpadc->irq, NULL, | 600 | ret = request_threaded_irq(gpadc->irq, NULL, |
601 | ab8500_bm_gpswadcconvend_handler, | 601 | ab8500_bm_gpswadcconvend_handler, |
602 | IRQF_NO_SUSPEND | IRQF_SHARED, "ab8500-gpadc", gpadc); | 602 | IRQF_ONESHOT | IRQF_NO_SUSPEND | IRQF_SHARED, |
603 | "ab8500-gpadc", gpadc); | ||
603 | if (ret < 0) { | 604 | if (ret < 0) { |
604 | dev_err(gpadc->dev, "Failed to register interrupt, irq: %d\n", | 605 | dev_err(gpadc->dev, "Failed to register interrupt, irq: %d\n", |
605 | gpadc->irq); | 606 | gpadc->irq); |