summaryrefslogtreecommitdiff
path: root/src/drivers/usb/acpi/usb_acpi.c
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-08-29 20:29:44 +0100
committerMartin L Roth <gaumless@gmail.com>2024-10-14 15:32:06 +0000
commit229d8fa2868a36ded96910df3291de36bfc096f3 (patch)
tree453c15458482f391d225db890aab840328e7932e /src/drivers/usb/acpi/usb_acpi.c
parentbede28b17df3aa3af4adc9c2396abd4070785cda (diff)
drivers/usb/acpi: Add AOLD Method for Intel Bluetooth
Add AOLD Method, which returns an integer based on whether Audio Offload is enabled. Leave the existing control of Audio Offload in `soc/soc_chip.h`. Add `cnvi_bt_audio_offload` in the USB ACPI `chip.h` to control the aforementioned return value. The value in `soc/soc_chip.h` and `chip.h` should match. Change-Id: Idb804fb1cf0edef4a98479a6261ca68255dbf075 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84134 Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/usb/acpi/usb_acpi.c')
-rw-r--r--src/drivers/usb/acpi/usb_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/usb/acpi/usb_acpi.c b/src/drivers/usb/acpi/usb_acpi.c
index f1622921c9..0087cbed54 100644
--- a/src/drivers/usb/acpi/usb_acpi.c
+++ b/src/drivers/usb/acpi/usb_acpi.c
@@ -108,7 +108,7 @@ static void usb_acpi_fill_ssdt_generator(const struct device *dev)
}
if (config->is_intel_bluetooth)
- acpi_device_intel_bt(config->reset_gpio.pins[0]);
+ acpi_device_intel_bt(config->reset_gpio.pins[0], config->cnvi_bt_audio_offload);
acpigen_pop_len();