MLK-25473-1 dmaengine: imx-sdma: Revert "MLK-25465-6 dmaengine: imx-sdma: fix the...
authorRobin Gong <yibin.gong@nxp.com>
Thu, 29 Apr 2021 19:39:37 +0000 (03:39 +0800)
committerRobin Gong <yibin.gong@nxp.com>
Fri, 30 Apr 2021 15:09:51 +0000 (23:09 +0800)
commite1e42b10bb84a960bd2640d8435f8611995aba90
treedde06b3056547e406837410a34d73a905bc9697c
parent4d77daaa5ae8b6897c5201e2d82e0c9d64f78250
MLK-25473-1 dmaengine: imx-sdma: Revert "MLK-25465-6 dmaengine: imx-sdma: fix the long dma transfer timing grater than 2s"

This reverts commit ec4de359d4a2bafa24b8078dce4c9979a477de39.
pm_runtime_forbid/pm_runtime_allow may cause the next running dma channel
stopped(runtime_suspend) after the last channel terminated, because all
channel share the same pm_runtime. Revert it to use autosuspend and
increase the autosuspend delay to 8s instead.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
drivers/dma/imx-sdma.c