diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2022-11-28 16:19:18 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-08-11 17:53:45 +0000 |
commit | 27172065fbdfc2e33848f98b29d8211fff045703 (patch) | |
tree | 3ba1f4f99aea48f89f2b44688d77565e5520ec43 /src/drivers | |
parent | 981e61bde9afa3bfe3779828380c356384096068 (diff) |
drivers/i2c/sx9310: Set ACPI status to hidden (0xb)
Set the ACPI device status to hidden, since no driver is necessary or
available under Windows.
Linux is unaffected as it does not use the ACPI device status.
TEST=build/boot Win11 on google/akemi
Change-Id: Ib1e274084400fa47e483267d331e632ceb5be757
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75178
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/i2c/sx9310/sx9310.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c index d9e5a14c5b..68aea6c80c 100644 --- a/src/drivers/i2c/sx9310/sx9310.c +++ b/src/drivers/i2c/sx9310/sx9310.c @@ -48,7 +48,7 @@ static void i2c_sx9310_fill_ssdt(const struct device *dev) acpigen_write_name_string("_HID", I2C_SX9310_ACPI_ID); acpigen_write_name_integer("_UID", config->uid); acpigen_write_name_string("_DDN", config->desc); - acpigen_write_STA(acpi_device_status(dev)); + acpigen_write_STA(ACPI_STATUS_DEVICE_HIDDEN_ON); /* Resources */ acpigen_write_name("_CRS"); |