summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2021-08-05 09:30:05 -0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-08-09 15:03:14 +0000
commit72c0b54efb5780637c5d6fde5b423af199d454e5 (patch)
treeb7319cb0918c8d04d4ccc7597011f54d3822645b /src/drivers/i2c
parent582829d9acaa899d8381f2b44a82f54da42b87a1 (diff)
drivers/i2c/da7219: Update _S0W to D3hot
The DA7219 does not support wake from D3cold, therefore update the return value of _S0W from D3cold to D3hot. BUG=b:187228954 TEST=compile Change-Id: If03f83bb00ec90a2a6646d2c99d8bcc7e5533ac2 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56832 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/da7219/da7219.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/da7219/da7219.c b/src/drivers/i2c/da7219/da7219.c
index 0423460049..80c52721f1 100644
--- a/src/drivers/i2c/da7219/da7219.c
+++ b/src/drivers/i2c/da7219/da7219.c
@@ -36,7 +36,7 @@ static void da7219_fill_ssdt(const struct device *dev)
acpigen_write_name_string("_HID", DA7219_ACPI_HID);
acpigen_write_name_integer("_UID", 1);
acpigen_write_name_string("_DDN", dev->chip_ops->name);
- acpigen_write_name_integer("_S0W", 4);
+ acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_HOT);
acpigen_write_STA(acpi_device_status(dev));
/* Resources */