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

Commit b7d0257c authored by Shrey Vijay's avatar Shrey Vijay
Browse files

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: default avatarShrey Vijay <shreyv@codeaurora.org>
parent 8e181ea4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,