]> git.baikalelectronics.ru Git - kernel.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)
commit8d41718d1dbb5e0400791f6b0ce1c88ee9d17c44
treecd28330654a9c75992511b80b42e6fe96e70deca
parent77873c812148ce857553659cc6db2adb7124275d
dmaengine: dw: fix cyclic transfer callbacks

Cyclic transfer callbacks rely on block completion interrupts which were
disabled in commit e47aceb41483 ("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: e47aceb41483 ("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