mfd: qcom_rpm: Drop use of IRQF_NO_SUSPEND flag
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 25 Sep 2015 12:39:13 +0000 (13:39 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:40 +0000 (17:19 +0000)
The driver handles wakeup irq correctly using irq_set_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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/qcom_rpm.c

index 6afc9fabd94c1f71f9456321d8fd7ccb5c50e5c4..207a3bd6855979c9f3299b834889870bbb249b34 100644 (file)
@@ -550,7 +550,7 @@ static int qcom_rpm_probe(struct platform_device *pdev)
        ret = devm_request_irq(&pdev->dev,
                               irq_ack,
                               qcom_rpm_ack_interrupt,
-                              IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND,
+                              IRQF_TRIGGER_RISING,
                               "qcom_rpm_ack",
                               rpm);
        if (ret) {