mailbox: msm_qmp: Remove IRQF_NO_SUSPEND.

The qmp interrupt is a hardware wake capable interrupt. Using the
IRQF_NO_SUSPEND flag still allows this interrupt to resume the CPUs
because the interrupt is left unmasked on the gic. Remove this flag
and use enable_irq_wake so the wakeup interrupt is properly accounted
for.

Change-Id: I7e55b9feff43da6bda5d1eca12bf92f98be1c9f7
Bug: 123377615
Bug: 131260677
This commit is contained in:
Chris Lew 2019-05-20 14:39:40 -07:00 committed by spakkkk
parent 0d5e5c6639
commit 08314b4994

View File

@ -978,7 +978,7 @@ static int qmp_mbox_probe(struct platform_device *pdev)
mdev->name);
ret = devm_request_irq(&pdev->dev, mdev->rx_irq_line, qmp_irq_handler,
IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND | IRQF_SHARED,
IRQF_TRIGGER_RISING | IRQF_SHARED,
edge_node->name, mdev);
if (ret < 0) {
qmp_mbox_remove(pdev);