]> 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)
commitbfa0830eacd8c2d9f9d30468188a5567f9c88737
treecd28330654a9c75992511b80b42e6fe96e70deca
parentd1681c7e0ce80303ce26c728f6e23fa2fa8260f3
dmaengine: dw: fix cyclic transfer callbacks

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