summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/max98373/max98373.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/max98373/max98373.c')
-rw-r--r--src/drivers/i2c/max98373/max98373.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/max98373/max98373.c b/src/drivers/i2c/max98373/max98373.c
index 558be8a2ca..e019b7076e 100644
--- a/src/drivers/i2c/max98373/max98373.c
+++ b/src/drivers/i2c/max98373/max98373.c
@@ -51,7 +51,7 @@ static void max98373_fill_ssdt(struct device *dev)
acpigen_write_name_integer("_UID", config->uid);
if (config->desc)
acpigen_write_name_string("_DDN", config->desc);
- acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON);
+ acpigen_write_STA(acpi_device_status(dev));
/* Resources */
acpigen_write_name("_CRS");