]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: cs-amp-lib-test: Add cases for factory calibration helpers
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 21 Oct 2025 10:50:17 +0000 (11:50 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 14:07:46 +0000 (14:07 +0000)
commitcf6290eebe3cc4eb677d11aa061d10cb1df12ab9
tree888acfe6a63df9710f7a77f77a9c8f7a162bd484
parent46a3df50b0cab466099515f2375b01c5be4fb95c
ASoC: cs-amp-lib-test: Add cases for factory calibration helpers

Add test cases for the cs_amp_read_cal_coeffs() and
cs_amp_write_ambient_temp() functions.

In both cases the test is simply to confirm that the correct data
value(s) get passed back to the caller.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20251021105022.1013685-7-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs-amp-lib.h
sound/soc/codecs/cs-amp-lib-test.c
sound/soc/codecs/cs-amp-lib.c