LF-276: ASoC: fsl_easi: constrain period size for edma case
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 2 Dec 2019 06:59:29 +0000 (14:59 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 02:56:26 +0000 (10:56 +0800)
commit1d52400fcd7cef0a56b256bb2cec10d7c84b24c0
tree063337c381314b5cdc5982d51f249ffbeb584bd4
parentd513e653b4af86f216fa3b9a537f632c00c8bba6
LF-276: ASoC: fsl_easi: constrain period size for edma case

There is limitaion for EDMA, which can only accept the period bytes
that can be divided by maxburst with no remainder. Otherwise EDMA
will not copy the left data in the end, and it will cause noise.
so add constraint for these chips.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
sound/soc/fsl/fsl_esai.c