diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-09-09 12:30:39 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-09 12:42:10 +0100 |
commit | e5b4ad2183f7ab18aaf7c73a120d17241ee58e97 (patch) | |
tree | 6e07035f97a8718ae622a219c718a8538533df69 /rust/helpers/platform.c | |
parent | b78dd64208a83f66fc21951bd8758281a7d445a5 (diff) |
ASoC: cs-amp-lib-test: Add test for getting cal data from HP EFI
Add a test case that cs_amp_get_efi_calibration_data() returns data
when it is in the HP-specific EFI variable.
This uses redirected implementation of cs_amp_get_efi_variable() that
only returns data if the passes name and GUID match the HP EFI variable.
A simple test case installs this function hook and then checks that
calibration data is returned.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Message-ID: <20250909113039.922065-7-rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions