Re: [PATCH 1/1] dmaengine: imx-sdma - correct the dma transfer residue calculation

2016-11-24 Thread Vinod Koul
On Tue, Oct 11, 2016 at 02:13:41PM +0300, Nandor Han wrote: > The residue calculation was taking in consideration that dma > transaction status will be always retrieved in the dma callback > used to inform that dma transfer is complete. However this is not > the case for all subsystems that use dma

Re: [PATCH 1/1] dmaengine: imx-sdma - correct the dma transfer residue calculation

2016-10-16 Thread Marek Vasut
On 10/11/2016 01:13 PM, Nandor Han wrote: > The residue calculation was taking in consideration that dma > transaction status will be always retrieved in the dma callback > used to inform that dma transfer is complete. However this is not > the case for all subsystems that use dma. Some subsystems

[PATCH 1/1] dmaengine: imx-sdma - correct the dma transfer residue calculation

2016-10-11 Thread Nandor Han
The residue calculation was taking in consideration that dma transaction status will be always retrieved in the dma callback used to inform that dma transfer is complete. However this is not the case for all subsystems that use dma. Some subsystems use a timer to check the dma status periodically.

Re: [PATCH 1/1] dmaengine: imx-sdma - correct the dma transfer residue calculation

2016-10-11 Thread Peter Senna Tschudin
On Tuesday, October 11, 2016 13:13 CEST, Nandor Han wrote: > The residue calculation was taking in consideration that dma > transaction status will be always retrieved in the dma callback > used to inform that dma transfer is complete. However this is not > the case for all subsystems that us