Use SET_LATE_SYSTEM_SLEEP_PM_OPS rather than the common sleep pm ops to ensure
sdma has resumed back before all other module drivers which use sdma resume
back.
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
a7f8725509b494c3073b1bcca63252d5c61bb80d)
#endif
static const struct dev_pm_ops sdma_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(sdma_suspend, sdma_resume)
+ SET_LATE_SYSTEM_SLEEP_PM_OPS(sdma_suspend, sdma_resume)
};
static struct platform_driver sdma_driver = {