for handlers which don't have top half, it's
necessary to IRQF_ONESHOT.

Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/cbus/retu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/cbus/retu.c b/drivers/cbus/retu.c
index b58c6e5..b7fbd18 100644
--- a/drivers/cbus/retu.c
+++ b/drivers/cbus/retu.c
@@ -469,8 +469,8 @@ static int __init retu_probe(struct platform_device *pdev)
        /* Mask all RETU interrupts */
        __retu_write_reg(retu, RETU_REG_IMR, 0xffff);
 
-       ret = request_threaded_irq(retu->irq, NULL, retu_irq_handler, 0,
-                         "retu", retu);
+       ret = request_threaded_irq(retu->irq, NULL, retu_irq_handler,
+                       IRQF_ONESHOT, "retu", retu);
        if (ret < 0) {
                dev_err(&pdev->dev, "Unable to register IRQ handler\n");
                goto err2;
-- 
1.7.6.396.ge0613

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to