On Mon, 2012-07-02 at 10:02 -0600, Stephen Warren wrote:On 07/02/2012 02:22 AM, Laxman Dewangan wrote:No core doesn't know anything about the how much you are transferringIn cyclic mode of DMA, the byte transferred can be moreThis makes sense to me, although I wonder if details like this aren't
than the requested size and in this case, calculating
residuals based on the current position of DMA transfer to
bytes requested i.e. bytes required to transfer to reach
bytes requested from current DMA position.
Signed-off-by: Laxman Dewangan<ldewangan@xxxxxxxxxx>
something that the dmaengine core should be handling.
and where you are. That is the driver to calculate and provide.