]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs35l56: KUnit tests for parsing and using onchip GPIOs
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 5 Feb 2026 16:48:38 +0000 (16:48 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Feb 2026 16:58:13 +0000 (16:58 +0000)
commit6f220440399afba29165e0597fa2c3aa836191d7
treeeedd040af5726fdd751c5e28cc5050253c76eea2
parent9bca0f05cea49ad11b464672ccdf6efd6a814a45
ASoC: cs35l56: KUnit tests for parsing and using onchip GPIOs

Add KUnit test cases for:

- cs35l56_process_xu_properties() which reads the onchip GPIO definitions.
- cs35l56_set_fw_name() calls functions to configure and set the GPIOs.
- cs35l56_set_fw_name() saves the ID value in cs35l56_priv.speaker_id.
- cs35l56_set_fw_name() does not overwrite a speaker ID that was already
  found some other way.

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