From e1f0b9a8785aa025e4a95315301d2952bb9c4a6d Mon Sep 17 00:00:00 2001 From: Chris Lew Date: Tue, 6 Aug 2019 18:28:25 -0700 Subject: [PATCH] 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 --- drivers/soc/qcom/smp2p.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c index c50f89dfb7e1..8f628967f389 100644 --- a/drivers/soc/qcom/smp2p.c +++ b/drivers/soc/qcom/smp2p.c @@ -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 @@ -640,6 +640,7 @@ static int qcom_smp2p_probe(struct platform_device *pdev) goto unwind_interfaces; } + enable_irq_wake(smp2p->irq); return 0;