mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
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:
parent
3e57835f86
commit
e1f0b9a878
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue