ASoC: topology: KUnit: Add KUnit tests passing topology with PCM to snd_soc_tplg_comp...
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 20 Jan 2021 15:28:46 +0000 (16:28 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:36:26 +0000 (12:36 +0000)
commit3ad8c8e9efc53d14d928b84aabe1a27dd5d3171b
tree8c5c91e035bea499ccdae59693f4307619ef6b1c
parentcec9128dfcf9101f903470e43d46278e5b07ef24
ASoC: topology: KUnit: Add KUnit tests passing topology with PCM to snd_soc_tplg_component_load

In order to ensure correct behaviour of topology API, add unit tests
exercising topology functionality.

Add topology containing PCM template and tests for parsing it. Also
adds test cases simulating modules reloads in case of separate drivers
for card and component.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210120152846.1703655-6-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology-test.c