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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78510
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2023-10-17 15:08:20 -05:00 committed by Matt DeVillier
parent a8962492b2
commit 44d0a137b5
1 changed files with 1 additions and 1 deletions

View File

@ -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;