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

Commit 94b97191 authored by Vivek Golani's avatar Vivek Golani
Browse files

soc: qcom: smsm: Add wakeup capable flags to SMSM IRQ



SMSM interrupts are expected even during APPS suspend path.
Added IRQF_NO_SUSPEND flag to handle interrupts during
suspend path.

Change-Id: I1c16a2be7fd0b3e85eebbee54aa472fb4a04bc6e
Signed-off-by: default avatarVivek Golani <vgolani@codeaurora.org>
parent 9a96de3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, Sony Mobile Communications Inc.
 * Copyright (c) 2012-2013,2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2013,2019,2021 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -404,7 +404,7 @@ static int smsm_inbound_entry(struct qcom_smsm *smsm,

	ret = devm_request_threaded_irq(smsm->dev, smsm->irq,
					NULL, smsm_intr,
					IRQF_ONESHOT,
					IRQF_NO_SUSPEND | IRQF_ONESHOT,
					"smsm", (void *)entry);
	if (ret) {
		dev_err(smsm->dev, "failed to request interrupt\n");