OSDN Git Service

ASoC: fsl_sai: Specify the maxburst to 8 on i.MX93 platform
authorChancel Liu <chancel.liu@nxp.com>
Thu, 27 Oct 2022 06:03:11 +0000 (14:03 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2022 09:46:53 +0000 (10:46 +0100)
commit870b89d118a29bd845ea706a74e313f9b83f5a45
tree6ae03b6392537ebac8c840e119fa49aad70e16ad
parent67d5c6c19923ad26def8a001e86fc0f42264a8b5
ASoC: fsl_sai: Specify the maxburst to 8 on i.MX93 platform

There is a limit to eDMA AXI on i.MX93. Only TCD that has NBYTES in a
multiple of 8bytes can enable scatter-gather. NBYTES is calculated by
bus width times maxburst. On i.MX93 platform the value of maxburst is
specified to 8. It makes sure that NBYTES is a multiple of 8bytes.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20221027060311.2549711-4-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h