Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1f0b9a8 authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarChris Lew <clew@codeaurora.org>
parent 3e57835f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// 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;