]> www.infradead.org Git - nvme.git/commit
ASoC: fsl: fsl_qmc_audio: Introduce qmc_dai_constraints_interleaved()
authorHerve Codina <herve.codina@bootlin.com>
Mon, 1 Jul 2024 11:30:33 +0000 (13:30 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jul 2024 11:24:57 +0000 (12:24 +0100)
commitb81cfa66435bdab896b4c24e11d24ec33bdb0601
treed9a45523b74c920d38bd1e0a850ffe4c84a21443
parent33a6969fbc653f25d5204b17fb67d5a21e6295e6
ASoC: fsl: fsl_qmc_audio: Introduce qmc_dai_constraints_interleaved()

Constraints are set by qmc_dai_startup(). These constraints are specific
to the interleaved mode.

With the future introduction of support for non-interleaved mode, a new
set of constraints will be set. To make the code clear and keep
qmc_dai_startup() simple, extract the current interleaved mode
constraints settings to a specific function.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://patch.msgid.link/20240701113038.55144-7-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_qmc_audio.c