diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2023-10-17 15:08:20 -0500 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-11-01 15:36:05 +0000 |
commit | 44d0a137b5a56c2ab487083f967a4f4fac78cdcf (patch) | |
tree | 929ca9e2cb8ede04dcb285e1e41a4438a5e61147 /src/drivers/generic/adau7002 | |
parent | a8962492b224c84a48c041a414ccbc3b6e8e4869 (diff) |
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>
Diffstat (limited to 'src/drivers/generic/adau7002')
-rw-r--r-- | src/drivers/generic/adau7002/adau7002.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |