summaryrefslogtreecommitdiff
path: root/src/drivers/intel/mipi_camera
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/mipi_camera')
-rw-r--r--src/drivers/intel/mipi_camera/camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c
index 9def9731f2..cdb9da300b 100644
--- a/src/drivers/intel/mipi_camera/camera.c
+++ b/src/drivers/intel/mipi_camera/camera.c
@@ -43,7 +43,7 @@ static void camera_fill_ssdt(struct device *dev)
acpigen_write_name_string("_HID", config->acpi_hid);
acpigen_write_name_integer("_UID", config->acpi_uid);
acpigen_write_name_string("_DDN", config->chip_name);
- acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON);
+ acpigen_write_STA(acpi_device_status(dev));
/* Resources */
acpigen_write_name("_CRS");