soc: qcom: smp2p: Add enable_irq_wake to SMP2P IRQ

SMP2P interrupts are expected to wake the processor from suspend.
Do not use the IRQF_NO_SUSPEND flag to handle during suspend path.
Instead rely on the suspend framework to resume and re-trigger the
threaded interrupt.

Change-Id: I22470f7076e71e73f3c7b345ad7e0a5de420225c
Signed-off-by: Chris Lew <clew@codeaurora.org>
This commit is contained in:
Chris Lew 2019-08-06 18:28:25 -07:00 • committed by Gerrit - the friendly Code Review server
commit e1f0b9a878

View file

@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015, Sony Mobile Communications AB.
* Copyright (c) 2012-2013, 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2013, 2018-2019 The Linux Foundation. All rights reserved.
*/
#include <linux/interrupt.h>
@ -640,6 +640,7 @@ static int qcom_smp2p_probe(struct platform_device *pdev)
goto unwind_interfaces;
}
enable_irq_wake(smp2p->irq);
return 0;