dmaengine: at_xdmac: fix resume for cyclic transfers
authorSongjun Wu <songjun.wu@atmel.com>
Mon, 18 Jan 2016 10:14:44 +0000 (11:14 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 18 Jan 2016 13:37:46 +0000 (19:07 +0530)
commit611dcadb01c89d1d3521450c05a4ded332e5a32d
tree9109cbbf1c148268fe94ee211d05f455ecf2fb5c
parent2895b2cad6e7a95104cf396e5330054453382ae1
dmaengine: at_xdmac: fix resume for cyclic transfers

When having cyclic transfers, the channel was paused when performing
suspend but was not correctly resumed.

Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel
eXtended DMA Controller driver")
Cc: <stable@vger.kernel.org> # 4.1 and later
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c