]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs-amp-lib-test: Tests for reading SSIDExV2
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 21 Jan 2026 13:22:41 +0000 (13:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Jan 2026 13:41:22 +0000 (13:41 +0000)
commitd70fa6b569a95e71cc25b86ac3cc221bea541f53
tree470aa451ea513d0c85404bb5459f979affd9241f
parent51b069172a4ef2c6278c64c603a41a7f20329921
ASoC: cs-amp-lib-test: Tests for reading SSIDExV2

Adds test cases for getting a Dell SSIDExV2 string by calling
cs_amp_devm_get_vendor_specific_variant_id().

This is a fairly simple test harness, the redirected call to
cs_amp_get_efi_variable() returns a test string to simulate
reading a string from UEFI. The returned string should be
the second field in the SSIDExV2 string (if valid).

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260121132243.1256019-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs-amp-lib-test.c