Re: [PATCH 2/3] ASoC: fsl_esai: Add support for imx8qm

From: Shengjiu Wang
Date: Fri May 15 2020 - 06:02:15 EST


On Tue, May 12, 2020 at 8:38 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Tue, May 12, 2020 at 10:48:41AM +0800, Shengjiu Wang wrote:
> > On Wed, May 6, 2020 at 10:33 AM Shengjiu Wang <shengjiu.wang@xxxxxxxxx> wrote:
> > > On Fri, May 1, 2020 at 6:23 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> > > > > 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?
>
> Not off-hand, you'd probably need to extend the API to export the
> information.

Thanks. I will think about if I can find a better solution.
And I will drop this change and send v2 of this patch-set.