Input: tegra-kbc - drop use of IRQF_NO_SUSPEND flag
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 26 Oct 2015 08:36:00 +0000 (01:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Oct 2015 08:39:07 +0000 (01:39 -0700)
The driver handles wakeup irq correctly using device_init_wakeup and
enable_irq_wake. There's no need to use IRQF_NO_SUSPEND while registering
the interrupt.

This patch removes the use of IRQF_NO_SUSPEND flag.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tegra-kbc.c

index f80c72d4ac8f0b50db7fde144e62b2fdc33476d0..acc5394afb0343a62a4502f24251898d216daf09 100644 (file)
@@ -706,7 +706,7 @@ static int tegra_kbc_probe(struct platform_device *pdev)
        input_set_drvdata(kbc->idev, kbc);
 
        err = devm_request_irq(&pdev->dev, kbc->irq, tegra_kbc_isr,
-                         IRQF_NO_SUSPEND | IRQF_TRIGGER_HIGH, pdev->name, kbc);
+                              IRQF_TRIGGER_HIGH, pdev->name, kbc);
        if (err) {
                dev_err(&pdev->dev, "failed to request keyboard IRQ\n");
                return err;