Input: sirfsoc-onkey - drop the IRQF_SHARED flag
authorBarry Song <Baohua.Song@csr.com>
Fri, 14 Feb 2014 16:43:05 +0000 (08:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 15 Feb 2014 21:08:42 +0000 (13:08 -0800)
Since the IRQ handler always returns IRQ_HANDLED it means this irq is not
a shared IRQ at all. Or at least, the SW is not self-consistent now.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/sirfsoc-onkey.c

index 0755614..3b54cba 100644 (file)
@@ -127,7 +127,7 @@ static int sirfsoc_pwrc_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        error = devm_request_irq(&pdev->dev, irq,
-                                sirfsoc_pwrc_isr, IRQF_SHARED,
+                                sirfsoc_pwrc_isr, 0,
                                 "sirfsoc_pwrc_int", pwrcdrv);
        if (error) {
                dev_err(&pdev->dev, "unable to claim irq %d, error: %d\n",