mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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
dad847b725
commit
237e8a5045
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue