mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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. Signed-off-by: Chris Lew <clew@codeaurora.org> Signed-off-by: Ananth Raghavan Subramanian <sananth@codeaurora.org> Signed-off-by: Kelly Rossmoyer <krossmo@google.com> Change-Id: I7e55b9feff43da6bda5d1eca12bf92f98be1c9f7 Bug: 123377615 Bug: 131260677
This commit is contained in:
parent
7b9a253f0c
commit
4a32aea131
@ -964,7 +964,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user