]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacd194e803dfdc4d755c5d0bb3a176c594792068
tree9109cbbf1c148268fe94ee211d05f455ecf2fb5c
parent8d41718d1dbb5e0400791f6b0ce1c88ee9d17c44
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: ac70d1d8dc5d ("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