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:
parent
0d5e5c6639
commit
08314b4994
@ -978,7 +978,7 @@ static int qmp_mbox_probe(struct platform_device *pdev)
|
|||||||
mdev->name);
|
mdev->name);
|
||||||
|
|
||||||
ret = devm_request_irq(&pdev->dev, mdev->rx_irq_line, qmp_irq_handler,
|
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);
|
edge_node->name, mdev);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
qmp_mbox_remove(pdev);
|
qmp_mbox_remove(pdev);
|
||||||
|
Loading…
Reference in New Issue
Block a user