]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: dw: fix cyclic transfer callbacks
authorMans Rullgard <mans@mansr.com>
Mon, 11 Jan 2016 13:04:29 +0000 (13:04 +0000)
committerVinod Koul <vinod.koul@intel.com>
Thu, 14 Jan 2016 05:49:42 +0000 (11:19 +0530)
commit2895b2cad6e7a95104cf396e5330054453382ae1
treecd28330654a9c75992511b80b42e6fe96e70deca
parentdf3bb8a0e619d501cd13334c3e0586edcdcbc716
dmaengine: dw: fix cyclic transfer callbacks

Cyclic transfer callbacks rely on block completion interrupts which were
disabled in commit ff7b05f29fd4 ("dmaengine/dw_dmac: Don't handle block
interrupts").  This re-enables block interrupts so the cyclic callbacks
can work.  Other transfer types are not affected as they set the INT_EN
bit only on the last block.

Fixes: ff7b05f29fd4 ("dmaengine/dw_dmac: Don't handle block interrupts")
Signed-off-by: Mans Rullgard <mans@mansr.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Cc: <stable@vger.kernel.org>
drivers/dma/dw/core.c