diff options
Diffstat (limited to 'src/drivers/i2c/max98927')
-rw-r--r-- | src/drivers/i2c/max98927/max98927.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/max98927/max98927.c b/src/drivers/i2c/max98927/max98927.c index 12599fed7c..ec0503410f 100644 --- a/src/drivers/i2c/max98927/max98927.c +++ b/src/drivers/i2c/max98927/max98927.c @@ -49,7 +49,7 @@ static void max98927_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"); |