Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Kuninori Morimoto
Hi Geert > >> > SYS/RT/Audio DMAC have both TCR/TCRB register. > >> > Its difference is transfer counter value of read (= TCR) > >> > or write (= TCRB). The relationship is like below. > >> > > >> > TCR TCRB > >> > [SOURCE] -> [DMAC] -> [DESTINATION] > >> > > >> > Thus, we want

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Kuninori Morimoto
Hi Geert > >> > SYS/RT/Audio DMAC have both TCR/TCRB register. > >> > Its difference is transfer counter value of read (= TCR) > >> > or write (= TCRB). The relationship is like below. > >> > > >> > TCR TCRB > >> > [SOURCE] -> [DMAC] -> [DESTINATION] > >> > > >> > Thus, we want

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Oct 16, 2017 at 9:12 AM, Kuninori Morimoto wrote: >> > SYS/RT/Audio DMAC have both TCR/TCRB register. >> > Its difference is transfer counter value of read (= TCR) >> > or write (= TCRB). The relationship is like below. >> > >> >

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Oct 16, 2017 at 9:12 AM, Kuninori Morimoto wrote: >> > SYS/RT/Audio DMAC have both TCR/TCRB register. >> > Its difference is transfer counter value of read (= TCR) >> > or write (= TCRB). The relationship is like below. >> > >> > TCR TCRB >> > [SOURCE] ->

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Kuninori Morimoto
Hi Geert > > SYS/RT/Audio DMAC have both TCR/TCRB register. > > Its difference is transfer counter value of read (= TCR) > > or write (= TCRB). The relationship is like below. > > > > TCR TCRB > > [SOURCE] -> [DMAC] -> [DESTINATION] > > > > Thus, we want to read TCRB instead of

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Kuninori Morimoto
Hi Geert > > SYS/RT/Audio DMAC have both TCR/TCRB register. > > Its difference is transfer counter value of read (= TCR) > > or write (= TCRB). The relationship is like below. > > > > TCR TCRB > > [SOURCE] -> [DMAC] -> [DESTINATION] > > > > Thus, we want to read TCRB instead of

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Oct 16, 2017 at 7:28 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > SYS/RT/Audio DMAC have both TCR/TCRB register. > Its difference is transfer counter value of read (= TCR) > or write (=

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-16 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Oct 16, 2017 at 7:28 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > SYS/RT/Audio DMAC have both TCR/TCRB register. > Its difference is transfer counter value of read (= TCR) > or write (= TCRB). The relationship is like below. > > TCR TCRB >

[PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-15 Thread Kuninori Morimoto
From: Kuninori Morimoto SYS/RT/Audio DMAC have both TCR/TCRB register. Its difference is transfer counter value of read (= TCR) or write (= TCRB). The relationship is like below. TCR TCRB [SOURCE] -> [DMAC] -> [DESTINATION] Thus, we want to

[PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-15 Thread Kuninori Morimoto
From: Kuninori Morimoto SYS/RT/Audio DMAC have both TCR/TCRB register. Its difference is transfer counter value of read (= TCR) or write (= TCRB). The relationship is like below. TCR TCRB [SOURCE] -> [DMAC] -> [DESTINATION] Thus, we want to read TCRB instead of TCR for residue.