diff options
| author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-10-21 13:50:22 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-27 17:07:51 +0300 |
| commit | 4795375d8aa072e9aacb0b278e6203c6ca41816a (patch) | |
| tree | d1bac79e206b7121efdbd87f25459a73932e832e /include/linux | |
| parent | 64670a6c062c4d183c366d46e71ee76395af6a15 (diff) | |
| download | linux-4795375d8aa072e9aacb0b278e6203c6ca41816a.tar.xz | |
ASoC: cs-amp-lib-test: Add test cases for cs_amp_set_efi_calibration_data()
Add a set of test cases for cs_amp_set_efi_calibration_data().
Broadly there are two type of behavior being tested:
How the EFI is updated:
- Create a new EFI
- Overwrite part of existing content
- Overwrite part of zero-filled preallocated content
- Grow the file to append new content
And how the location within the content is chosen:
- Overwrite a specific array entry
- Overwrite an entry with the same calTarget (silicon ID)
- Overwrite a free entry
- Append after existing data
Plus some cases for error conditions.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20251021105022.1013685-12-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
