]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: KUnit: Convert from cpu to data format
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Tue, 2 Feb 2021 16:31:23 +0000 (17:31 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 2 Feb 2021 17:08:21 +0000 (17:08 +0000)
commit62a873109bb81b87051f926eabee6d4a7b9199ac
treec7ff1c798bdbb04cf8d10b1efeb0195b0c1970f6
parentbfbeaea3b4cd3243c4463d58eb512757da237dae
ASoC: topology: KUnit: Convert from cpu to data format

When creating topology templates and overriding data in specific test
cases it should be done with cpu_to_le32 macro, so we operate on correct
data on all architectures, as topology parser use le32_to_cpu to parse
data from structures.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20210202163123.3942040-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology-test.c