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

Commit 99de486f authored by Mohan Pallaka's avatar Mohan Pallaka
Browse files

input: synaptics_dsx: support for pm ops



Add support for pm ops only if early suspend
or fb notifications are not available.

CRs-fixed: 728814
Change-Id: If266faf9ef429b1efd368601b319624e32f1be2c
Signed-off-by: default avatarMohan Pallaka <mpallaka@codeaurora.org>
parent 1c267e4a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4061,8 +4061,10 @@ static int synaptics_rmi4_resume(struct device *dev)
}

static const struct dev_pm_ops synaptics_rmi4_dev_pm_ops = {
#if (!defined(CONFIG_FB) && !defined(CONFIG_HAS_EARLYSUSPEND))
	.suspend = synaptics_rmi4_suspend,
	.resume  = synaptics_rmi4_resume,
#endif
};
#else
static int synaptics_rmi4_suspend(struct device *dev)