Re: [alsa-devel] [PATCH] ASoC: fsl_sai: Fix noise when using EDMA

2019-09-09 Thread Nicolin Chen
On Fri, Sep 06, 2019 at 09:46:12AM +0300, Daniel Baluta wrote: > On Fri, Sep 6, 2019 at 4:25 AM Nicolin Chen wrote: > > > > On Fri, Aug 30, 2019 at 11:09:00PM +0300, Daniel Baluta wrote: > > > From: Mihai Serban > > > > > > EDMA requires the period size to be multiple of maxburst. Otherwise the >

Re: [alsa-devel] [PATCH] ASoC: fsl_sai: Fix noise when using EDMA

2019-09-05 Thread Daniel Baluta
On Fri, Sep 6, 2019 at 4:25 AM Nicolin Chen wrote: > > On Fri, Aug 30, 2019 at 11:09:00PM +0300, Daniel Baluta wrote: > > From: Mihai Serban > > > > EDMA requires the period size to be multiple of maxburst. Otherwise the > > remaining bytes are not transferred and thus noise is produced. > > > >

Re: [PATCH] ASoC: fsl_sai: Fix noise when using EDMA

2019-09-05 Thread Nicolin Chen
On Fri, Aug 30, 2019 at 11:09:00PM +0300, Daniel Baluta wrote: > From: Mihai Serban > > EDMA requires the period size to be multiple of maxburst. Otherwise the > remaining bytes are not transferred and thus noise is produced. > > We can handle this issue by adding a constraint on > SNDRV_PCM_HW_

[PATCH] ASoC: fsl_sai: Fix noise when using EDMA

2019-08-30 Thread Daniel Baluta
From: Mihai Serban EDMA requires the period size to be multiple of maxburst. Otherwise the remaining bytes are not transferred and thus noise is produced. We can handle this issue by adding a constraint on SNDRV_PCM_HW_PARAM_PERIOD_SIZE to be multiple of tx/rx maxburst value. Cc: NXP Linux Team