From 72c0b54efb5780637c5d6fde5b423af199d454e5 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Thu, 5 Aug 2021 09:30:05 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56832 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/drivers/i2c/da7219/da7219.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') 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 */ -- cgit v1.2.3