dmaengine: qcom_hidma: pause the channel on shutdown
authorSinan Kaya <okaya@codeaurora.org>
Sat, 25 Mar 2017 23:04:03 +0000 (19:04 -0400)
committerVinod Koul <vinod.koul@intel.com>
Mon, 27 Mar 2017 05:13:38 +0000 (10:43 +0530)
commitdc7c733acb04307563da357af6118b12948c3f50
treee16491c76c66c05c07ac0e46c4d70e679baefef9
parentc3a4528788cf09d709217f21be4b0fc38ada17d0
dmaengine: qcom_hidma: pause the channel on shutdown

We need to ensure that all DMAs and interrupts are cleared during
shutdown operation in order for kexec to start the next kernel clearly.

Otherwise, HW could be performing a DMA into random addresses in the
middle of second kernel start.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom/hidma.c