]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: KUnit tests for setting dsp.system_name
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 4 Mar 2026 16:23:59 +0000 (16:23 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2026 15:22:47 +0000 (15:22 +0000)
commitbae6668c526018af45b70e7825b61e6edb528f41
treee9b00f265607b62ee9ebb198f76bbad3cb17b9de
parent11439c4635edd669ae435eec308f4ab8a0804808
ASoC: cs35l56: KUnit tests for setting dsp.system_name

Add KUnit tests for setting the dsp.system_name string.

There are two sources of the string:

1. PCI SSID from struct snd_soc_card.
2. "cirrus,firmware-uid" property.

Either of these can then be qualified by a speaker ID integer.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260304162402.1714759-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56-test.c
sound/soc/codecs/cs35l56.c
sound/soc/codecs/cs35l56.h