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: Deepak Kumar Singh <deesin@codeaurora.org>
This commit is contained in:
parent
a317360c7c
commit
fc5ca24b50
@ -1,6 +1,6 @@
|
||||
// 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,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user