MLK-25465-6 dmaengine: imx-sdma: fix the long dma transfer timing grater than 2s
authorRobin Gong <yibin.gong@nxp.com>
Mon, 26 Apr 2021 18:19:47 +0000 (02:19 +0800)
committerRobin Gong <yibin.gong@nxp.com>
Wed, 28 Apr 2021 13:17:48 +0000 (21:17 +0800)
commitec4de359d4a2bafa24b8078dce4c9979a477de39
treebb3056ef0739ccbb94c264f8e343832953f93e83
parentbbdf60d514f600c35d9dde5d6ad7602f9804e698
MLK-25465-6 dmaengine: imx-sdma: fix the long dma transfer timing grater than 2s

In case the dma transfer timing longer than 2s, sdma would be power
off so that cyclic transfer would be broken, forbid runtime auto suspend
in such case instead.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 9df533ad0ab7767db7cff1293d0c8dafb599130b)
drivers/dma/imx-sdma.c