From 27172065fbdfc2e33848f98b29d8211fff045703 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 28 Nov 2022 16:19:18 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75178 Reviewed-by: Eric Lai Reviewed-by: Martin L Roth Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/drivers/i2c/sx9310/sx9310.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3