Hi Mark, Nicolin
On Wed, May 6, 2020 at 10:33 AM Shengjiu Wang shengjiu.wang@gmail.com wrote:
Hi
On Fri, May 1, 2020 at 6:23 PM Mark Brown broonie@kernel.org wrote:
On Fri, May 01, 2020 at 04:12:05PM +0800, Shengjiu Wang wrote:
The difference for esai on imx8qm is that DMA device is EDMA.
EDMA requires the period size to be multiple of maxburst. Otherwise the remaining bytes are not transferred and thus noise is produced.
If this constraint comes from the DMA controller then normally you'd expect the DMA controller integration to be enforcing this - is there no information in the DMA API that lets us know that this constraint is there?
No, I can't find one API for this. Do you have a recommendation?
could you please recommend which DMA API can I use?
best regards wang shengjiu