Re: [PATCH] dmaengine: imx-sdma: only restart cyclic channel when enabled

Vinod Koul
2022-07-01T16:38:28Z

On 17-06-22, 13:50, Sascha Hauer wrote:
> An interrupt for a channel might be pending even after struct
> dma_device::device_terminate_all has been called. In that case the
> recently introduced warning message "restart cyclic channel..." triggers
> and the channel will be restarted. This is not desired as the channel
> has just been stopped. Only restart the channel when we still have a
> descriptor set for it (which will be set to NULL in
> sdma_terminate_all()).

Applied, thanks

--
~Vinod