summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorShrey Vijay <shreyv@codeaurora.org>2018-03-22 13:10:20 +0530
committerShrey Vijay <shreyv@codeaurora.org>2018-03-22 13:10:20 +0530
commitb7d0257cd687bf29704d154c36c8d86c21332bf4 (patch)
tree150cc517ebfa7aace6bb1a91014a621b345bf0d6 /drivers/i2c
parent8e181ea4e865a2245124116afee0d9f71ccd43aa (diff)
i2c-msm-v2: Add support for suspend to disk
Add support to I2C-MSM-V2 driver for suspend to disk feature. Change-Id: Ifeb176227b2bee9859d29cff776e67ad73b4f9f0 Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-msm-v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-msm-v2.c b/drivers/i2c/busses/i2c-msm-v2.c
index c0d962212720..67261bc10e80 100644
--- a/drivers/i2c/busses/i2c-msm-v2.c
+++ b/drivers/i2c/busses/i2c-msm-v2.c
@@ -2848,8 +2848,8 @@ static void i2c_msm_pm_rt_init(struct device *dev) {}
static const struct dev_pm_ops i2c_msm_pm_ops = {
#ifdef CONFIG_PM_SLEEP
- .suspend_noirq = i2c_msm_pm_sys_suspend_noirq,
- .resume_noirq = i2c_msm_pm_sys_resume_noirq,
+ SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(i2c_msm_pm_sys_suspend_noirq,
+ i2c_msm_pm_sys_resume_noirq)
#endif
SET_RUNTIME_PM_OPS(i2c_msm_pm_rt_suspend,
i2c_msm_pm_rt_resume,