ASoC: fsl_sai: Enable combine mode soft
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 11 Jan 2022 08:15:18 +0000 (09:15 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Feb 2022 13:38:06 +0000 (13:38 +0000)
commiteba0f007751986ee401f2a1bcbdd3bdc845cb606
treed962053886a5a40b2a3f903ffdffd7974cb83311
parent6324cf901e14c6662be508f30485e0f09c54694d
ASoC: fsl_sai: Enable combine mode soft

The fsl_sai driver calculates the number of pins used and enables
multiple channels if necessary. This means the SAI expects data in
one FIFO per pin. The SDMA engine only services a single FIFO, so
multi pin support doesn't work at all.

This patch enables the software combine mode in chips that support
it. With this the SAI presents only a single FIFO to the outside
and distributes the data into the different FIFOs internally.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220111081518.982437-1-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h