Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode

2017-05-29 Thread Vinod Koul
On Tue, May 23, 2017 at 07:08:43AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > 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.

[PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode

2017-05-23 Thread Kuninori Morimoto
From: Kuninori Morimoto 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 r