]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: topology: Fix unload for SAI/ESAI
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 26 Nov 2019 14:16:06 +0000 (08:16 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 27 Nov 2019 12:50:37 +0000 (12:50 +0000)
commit1085ae1d15d62e4f6ece7d922b23e8888dcbb8c7
tree0843aed5f4e9aa736373cfd4a5c890cc93d08f54
parente0a8f2c0d0169f0a4c3affb1e8e71d4178a18b59
ASoC: SOF: topology: Fix unload for SAI/ESAI

Link unload now fails for ESAI/SAI DAIs with:

"error: invalid DAI type 6" because DAI type is not
properly handled.

Fix this by correctly handling cases where type is ESAI or SAI.

Fixes: 4c8be623612cbc1 ("ASoC: SOF: imx: Read ESAI parameters and send them to DSP")
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191126141606.21650-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c