]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 3 Feb 2016 21:23:19 +0000 (16:23 -0500)
commit40ced0bb2cd8bd17c4f1061176c2ca1db71ec667
tree834f2dde0c2c90abf731d935ba2ecfe8855dda27
parent3a1e81ad84e4d880b00ecf7ad8d03b9b772ddfa7
dmaengine: at_xdmac: fix resume for cyclic transfers

[ Upstream commit 611dcadb01c89d1d3521450c05a4ded332e5a32d ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/dma/at_xdmac.c