Browse Source

mfd: qcom_rpm: Drop use of IRQF_NO_SUSPEND flag

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>
Sudeep Holla 10 years ago
parent
commit
ced7e09355
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mfd/qcom_rpm.c

+ 1 - 1
drivers/mfd/qcom_rpm.c

@@ -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) {