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

Commit 237e8a50 authored by Deepak Kumar Singh's avatar Deepak Kumar Singh Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: add dev_pm_ops for tracking no irq phase



Glink native interrupt handler need to wakeup local host
only in post noirq phase of suspend.

Adding dev_pm_ops to track suspend/resume noirq phase.

Change-Id: I338f6ca8da8956592d3c95b2676163651ea86361
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent dad847b7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2019, 2021, The Linux Foundation. All rights reserved.
 */

#include <linux/of.h>
@@ -25,6 +25,8 @@ do { \
	ipc_log_string(glink_ilc, "[%s]: "x, __func__, ##__VA_ARGS__); \
} while (0)

extern const struct dev_pm_ops glink_native_pm_ops;

struct edge_info {
	struct list_head list;
	struct device *dev;
@@ -202,6 +204,7 @@ static struct platform_driver glink_probe_driver = {
	.driver = {
		.name = "msm_glink",
		.of_match_table = glink_match_table,
		.pm = &glink_native_pm_ops,
	},
};