ASoC: fsl-asoc-card: Allow passing the number of slots in use
authorFabio Estevam <festevam@denx.de>
Fri, 16 Jun 2023 20:39:13 +0000 (17:39 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 21 Jun 2023 12:42:51 +0000 (13:42 +0100)
commit6ab11462c68499933bd9b5d52a710f4e18a9e43e
tree1dc0095a910d6e1de22965cf9d5004cff628f152
parentaa21a7d4f68a0a5067578cbb93c136ab5ac09cfa
ASoC: fsl-asoc-card: Allow passing the number of slots in use

Currently, fsl-asoc-card supports passing the width of the TDM slot, but
not the number of slots in use, as it harcodes it as two slots.

Add support for passing the number of slots in use.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://lore.kernel.org/r/20230616203913.551183-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c