ASoC: fsl_micfil: add multi fifo support
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Apr 2022 16:22:40 +0000 (18:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:06:21 +0000 (12:06 +0100)
commit2495ba26e838176c3b572b2b1592d75b4b963692
treebba58991ee8d4a7bb761fe92eb193a70bbde3d84
parent824a0a02cd74776461aaa30d792b1ed9111c9aa5
ASoC: fsl_micfil: add multi fifo support

The micfil hardware provides the microphone data on multiple successive
FIFO registers, one register per stereo pair. Also to work properly the
SDMA_DONE0_CONFIG_DONE_SEL bit in the SDMA engines SDMA_DONE0_CONFIG
register must be set. This patch provides the necessary information to
the SDMA engine driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220414162249.3934543-13-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c