Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: dw: disable BLOCK IRQs for non-cyclic xfer
[ Upstream commit ee1cdcd ] The commit 2895b2c ("dmaengine: dw: fix cyclic transfer callbacks") re-enabled BLOCK interrupts with regard to make cyclic transfers work. However, this change becomes a regression for non-cyclic transfers as interrupt counters under stress test had been grown enormously (approximately per 4-5 bytes in the UART loop back test). Taking into consideration above enable BLOCK interrupts if and only if channel is programmed to perform cyclic transfer. Fixes: 2895b2c ("dmaengine: dw: fix cyclic transfer callbacks") Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Mans Rullgard <[email protected]> Tested-by: Mans Rullgard <[email protected]> Acked-by: Viresh Kumar <[email protected]> Cc: <[email protected]> Signed-off-by: Vinod Koul <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information