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:
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user