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

Commit 0c9edebb authored by Atul Raut's avatar Atul Raut Committed by Gerrit - the friendly Code Review server
Browse files

serial: msm-geni-serial: Add support for thaw callback



Hibernation may fail after this driver's freeze
callback.
Implement thaw callback to undo the changes
done in freeze callback to keep system intact.

Change-Id: Ic682e6d4372d4e9da8da4f4b735cef25e152d159
Signed-off-by: default avatarAtul Raut <araut@codeaurora.org>
parent b8d444ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3113,6 +3113,7 @@ static const struct dev_pm_ops msm_geni_serial_pm_ops = {
	.resume_noirq = msm_geni_serial_sys_resume_noirq,
	.freeze = msm_geni_serial_sys_suspend_noirq,
	.restore = msm_geni_serial_sys_hib_resume_noirq,
	.thaw = msm_geni_serial_sys_hib_resume_noirq,
};

static struct platform_driver msm_geni_serial_platform_driver = {