soc: qcom: smem: Implementing thaw callback

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

Change-Id: I7e426a73b14c61f3a47d41fc4a0aa24313457eda
Signed-off-by: Arun Prakash <app@codeaurora.org>
This commit is contained in:
Arun Prakash
2020-02-21 15:48:58 +05:30
parent bbe98cb353
commit 0c4ac9f6ad

View File

@@ -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[] = {