Commits
Robin Gong committed 4efe9fe3537
MLK-11689: dma: imx-sdma: correct channel context restore Before, checking SDMA_H_C0PTR register to know whether sdma controller turned off in DSM, if yes restore channel context back. Unfortunatly, this checking is wrong, because SDMA_H_C0PTR has been initialized as non-zero value in sdma_resume, which means channel context will never be restored back if mega/ fast off on i.mx6sx or i.mx7d. Using 'suspend_off' flag to keep this 'restore needed' requirement. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 565d4c45926a03029d7750a57f3e3f2404de7301) (cherry picked from commit 70dbe82f8fb504497ab5d544ce0c30cfca15c515)