Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: OMAP: Add hibernation support to omap_hsmmc.
Setting a dev_pm_ops suspend/resume pair but not a set of hibernation functions means that pm functions will not be called upon suspend/resume. Fix this by using SET_SYSTEM_SLEEP_PM_OPS, which appropriately assigns the suspend/resume and hibernation handlers. Additionally, do not rely on the RESETDONE bit to determine if context needs to be restored, as that bit may have been cleared by the kernel loading our restore image. Signed-off-by: Russ Dill <Russ.Dill@ti.com>
- Loading branch information