MLK-25465-5 dmaengine: fsl-edma-v3: add worker to issue pending
authorRobin Gong <yibin.gong@nxp.com>
Wed, 21 Apr 2021 10:59:59 +0000 (18:59 +0800)
committerRobin Gong <yibin.gong@nxp.com>
Wed, 28 Apr 2021 13:17:25 +0000 (21:17 +0800)
commitbbdf60d514f600c35d9dde5d6ad7602f9804e698
treeceb4b1d8d1236aaa0eadd2f09328b8b40899991f
parent383979c0e7a61ec0ce3fe24bee1c6f62e018bb72
MLK-25465-5 dmaengine: fsl-edma-v3: add worker to issue pending

For fix the block/sleep limitation of scu-pd on i.mx8qm/qxp, hence, on
some atomic user case like tty/ALSA kernel warnings come out. Move the
pm_runtime_get_sync from issue pending to worker and forbid runtime auto
suspend until channel terminated.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit a28ad2af0fa8c79c3e06caa0cede1bd93bd8f068)
drivers/dma/fsl-edma-v3.c