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>
This commit is contained in:
Matt DeVillier 2022-11-28 16:19:18 -06:00 committed by Felix Held
parent 981e61bde9
commit 27172065fb
1 changed files with 1 additions and 1 deletions

View File

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