diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-09-09 12:30:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-09 12:42:06 +0100 |
commit | 267b9cdee522d03f95acf7c77de91056a4e004b3 (patch) | |
tree | c2ec689c11a10ccbc7cc5f1048340b0f2814d586 /rust/helpers | |
parent | 89ace3acf013eebb299290f41b4ac34bf6c62a10 (diff) |
ASoC: cs-amp-lib: Add handling for Lenovo and HP UEFI speaker ID
Add handling of the Lenovo-specific and HP-specific EFI variables for
speaker ID.
Future Lenovo and HP models will not give the codec driver access to the
speaker detect GPIO. Instead, the BIOS will read the GPIO and create an
EFI variable with a value indicating the state of the GPIO.
The Lenovo and HP EFI variables are both defined to have only two valid
values. But the variable name, GUID and values are different.
This adds a new exported function cs_amp_get_vendor_spkid().
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Message-ID: <20250909113039.922065-3-rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions