diff options
-rw-r--r-- | src/drivers/generic/gpio_keys/gpio_keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c index 75ce09f7ea..c0fd8de381 100644 --- a/src/drivers/generic/gpio_keys/gpio_keys.c +++ b/src/drivers/generic/gpio_keys/gpio_keys.c @@ -87,6 +87,8 @@ static void gpio_keys_fill_ssdt_generator(const struct device *dev) acpi_dp_add_child(dsd, "button-0", child); acpi_dp_write(dsd); + acpigen_write_STA(acpi_device_status(dev)); + acpigen_pop_len(); /* Device */ acpigen_pop_len(); /* Scope */ } |