mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
The commit2895b2cad6("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:2895b2cad6("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]>