diff options
Diffstat (limited to 'src/drivers/generic/adau7002')
-rw-r--r-- | src/drivers/generic/adau7002/adau7002.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/generic/adau7002/adau7002.c b/src/drivers/generic/adau7002/adau7002.c index 0a94819ec2..2ea10867e9 100644 --- a/src/drivers/generic/adau7002/adau7002.c +++ b/src/drivers/generic/adau7002/adau7002.c @@ -43,7 +43,7 @@ static void adau7002_fill_ssdt(struct device *dev) acpigen_write_name_string("_HID", ADAU7002_ACPI_HID); acpigen_write_name_integer("_UID", 0); acpigen_write_name_string("_DDN", dev->chip_ops->name); - acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON); + acpigen_write_STA(acpi_device_status(dev)); acpigen_pop_len(); /* Device */ acpigen_pop_len(); /* Scope */ |