Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode
From: Vinod Koul
Date: Tue May 30 2017 - 02:17:50 EST
On Tue, May 23, 2017 at 07:08:43AM +0000, Kuninori Morimoto wrote:
>
> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
>
> In descriptor mode, the descriptor running pointer is not maintained
> by the interrupt handler, thus, driver finds the running descriptor
> from the descriptor pointer field in the CHCRB register.
> But, CHCRB::DPTR indicates *next* descriptor pointer, not current.
> Thus, The residue calculation will be missed. This patch fixup it.
Applied, thanks
--
~Vinod