dmaengine: qcom_hidma: disable/enable IRQs on pause/resume
authorSinan Kaya <okaya@codeaurora.org>
Sat, 25 Mar 2017 23:04:02 +0000 (19:04 -0400)
committerVinod Koul <vinod.koul@intel.com>
Mon, 27 Mar 2017 05:13:38 +0000 (10:43 +0530)
commitc3a4528788cf09d709217f21be4b0fc38ada17d0
tree0ba61ccd3d43873fd5cf266d8915cfc2a0673fe4
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
dmaengine: qcom_hidma: disable/enable IRQs on pause/resume

Once the channels are stopped, disable interrupts to make sure no new
HW interaction can happen.

Similarly, re-enable the interrupts only if we know that channel is
operational again.

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