Re: Re: [PATCH 1/2] OMAP2+: DMA: Workaround for invalid source position

2011-11-04 Thread Tony Lindgren
* Péter Ujfalusi [04 02:00]: > On Thursday 03 November 2011 14:27:56 Tony Lindgren wrote: > > > > Should these tests be done only after the errata re-read for both > > src and dst patches? Otherwise the errata will not be handled? > > Yes that might be a good idea. > I was trying to locate t

Re: Re: [PATCH 1/2] OMAP2+: DMA: Workaround for invalid source position

2011-11-04 Thread Péter Ujfalusi
On Thursday 03 November 2011 14:27:56 Tony Lindgren wrote: > * Peter Ujfalusi [111031 06:46]: > > If the DMA source position has been asked before the > > first actual data transfer has been done, the CSAC > > register does not contain valid information. > > We can identify this situation by check

Re: [PATCH 1/2] OMAP2+: DMA: Workaround for invalid source position

2011-11-03 Thread Tony Lindgren
* Tony Lindgren [03 13:53]: > * Peter Ujfalusi [111031 06:46]: > > If the DMA source position has been asked before the > > first actual data transfer has been done, the CSAC > > register does not contain valid information. > > We can identify this situation by checking the CDAC > > register:

Re: [PATCH 1/2] OMAP2+: DMA: Workaround for invalid source position

2011-11-03 Thread Tony Lindgren
* Peter Ujfalusi [111031 06:46]: > If the DMA source position has been asked before the > first actual data transfer has been done, the CSAC > register does not contain valid information. > We can identify this situation by checking the CDAC > register: > CDAC != 0 indicates that the DMA transfer

[PATCH 1/2] OMAP2+: DMA: Workaround for invalid source position

2011-10-31 Thread Peter Ujfalusi
If the DMA source position has been asked before the first actual data transfer has been done, the CSAC register does not contain valid information. We can identify this situation by checking the CDAC register: CDAC != 0 indicates that the DMA transfer on the channel has been started already. When