summaryrefslogtreecommitdiff
path: root/src/drivers/spi/acpi/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/acpi/acpi.c')
-rw-r--r--src/drivers/spi/acpi/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/spi/acpi/acpi.c b/src/drivers/spi/acpi/acpi.c
index 4127f9a93a..c0e776eee1 100644
--- a/src/drivers/spi/acpi/acpi.c
+++ b/src/drivers/spi/acpi/acpi.c
@@ -139,15 +139,15 @@ static void spi_acpi_fill_ssdt_generator(const struct device *dev)
if (irq_gpio_index >= 0)
acpi_dp_add_gpio(dsd, "irq-gpios", path,
irq_gpio_index, 0,
- config->irq_gpio.polarity);
+ config->irq_gpio.active_low);
if (reset_gpio_index >= 0)
acpi_dp_add_gpio(dsd, "reset-gpios", path,
reset_gpio_index, 0,
- config->reset_gpio.polarity);
+ config->reset_gpio.active_low);
if (enable_gpio_index >= 0)
acpi_dp_add_gpio(dsd, "enable-gpios", path,
enable_gpio_index, 0,
- config->enable_gpio.polarity);
+ config->enable_gpio.active_low);
acpi_dp_write(dsd);
}