]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73f6333d03318eee26f0b8b0da7498a1755e3e59
treed962053886a5a40b2a3f903ffdffd7974cb83311
parent4cc60ab76b965d4c002331d2144cf21625e835a7
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