Re: [PATCH v2 1/3] ASoC: fsl_sai: Fix noise when using EDMA

2019-09-16 Thread Nicolin Chen
On Fri, Sep 13, 2019 at 10:28:05PM +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 >

[PATCH v2 1/3] ASoC: fsl_sai: Fix noise when using EDMA

2019-09-13 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. Signed-off-by: