mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mailbox: msm_qmp: remove IRQF_NO_SUSPEND while requesting irq
Using IRQF_NO_SUSPEND and enable_irq_wake together can sometime cause issue in wakeup from suspend and local host may not come out of suspend on receiving qmp interrupt. It is sufficient to use enable_irq_wake to mark irq as wakeup capable. Change-Id: I714724b31b92d23df0ac6a648f70416a130c9896 Signed-off-by: Deepak Kumar Singh <[email protected]>
This commit is contained in:
parent
38e6f2c27c
commit
ba05ace82d
1 changed files with 1 additions and 1 deletions
|
|
@ -991,7 +991,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…
Reference in a new issue