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

Commit 0c4ac9f6 authored by Arun Prakash's avatar Arun Prakash
Browse files

soc: qcom: smem: Implementing thaw callback



Implementing thaw callback to restore the smem
driver state if hibernation failed.

Change-Id: I7e426a73b14c61f3a47d41fc4a0aa24313457eda
Signed-off-by: default avatarArun Prakash <app@codeaurora.org>
parent bbe98cb3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1088,8 +1088,9 @@ static int qcom_smem_restore(struct device *dev)
}

static const struct dev_pm_ops qcom_smem_pm_ops = {
	.freeze = qcom_smem_freeze,
	.restore = qcom_smem_restore,
	.freeze_late = qcom_smem_freeze,
	.restore_early = qcom_smem_restore,
	.thaw_early = qcom_smem_restore,
};

static const struct of_device_id qcom_smem_of_match[] = {