From 44d0a137b5a56c2ab487083f967a4f4fac78cdcf Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 17 Oct 2023 15:08:20 -0500 Subject: drivers/generic/adau7002: Set ACPI status to hidden No driver available or needed under Windows, so hide from OS. TEST=build/boot Win11 on google/kahlee (liara), verify ADAU7002 device no longer listed as unknown under Device Manager. Boot Linux and verify audio still functional. Change-Id: If6d250a123825a69441b5c4d3cde35d5a68f568d Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/78510 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/drivers/generic/adau7002/adau7002.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/generic/adau7002') diff --git a/src/drivers/generic/adau7002/adau7002.c b/src/drivers/generic/adau7002/adau7002.c index 26da09b264..63510cd679 100644 --- a/src/drivers/generic/adau7002/adau7002.c +++ b/src/drivers/generic/adau7002/adau7002.c @@ -31,7 +31,7 @@ static void adau7002_fill_ssdt(const struct device *dev) acpigen_write_name_string("_HID", ADAU7002_ACPI_HID); acpigen_write_name_integer("_UID", 0); acpigen_write_name_string("_DDN", dev->chip_ops->name); - acpigen_write_STA(acpi_device_status(dev)); + acpigen_write_STA(ACPI_STATUS_DEVICE_HIDDEN_ON); /* _DSD for devicetree properties */ config = dev->chip_info; -- cgit v1.2.3