dmaengine: fsl-dpaa2-qdma: Adding shutdown hook
authorPeng Ma <peng.ma@nxp.com>
Thu, 27 Feb 2020 04:28:41 +0000 (12:28 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 2 Mar 2020 09:26:22 +0000 (14:56 +0530)
commit3e0ca3c38dc2ff5424eefa01a3a91cc9c0f65f5a
tree4d3737e4e113369258f1d538d01f818e454359fe
parent667b9251440b762ebc8cd3348a6e6ab29401bb97
dmaengine: fsl-dpaa2-qdma: Adding shutdown hook

We need to ensure DMA engine could be stopped in order for kexec
to start the next kernel.
So add the shutdown operation support.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
Link: https://lore.kernel.org/r/20200227042841.18358-1-peng.ma@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c
drivers/dma/fsl-dpaa2-qdma/dpdmai.c
drivers/dma/fsl-dpaa2-qdma/dpdmai.h