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>
This commit is contained in:
Tim Wawrzynczak 2021-08-05 09:30:05 -06:00
parent 582829d9ac
commit 72c0b54efb
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ static void da7219_fill_ssdt(const struct device *dev)
acpigen_write_name_string("_HID", DA7219_ACPI_HID); acpigen_write_name_string("_HID", DA7219_ACPI_HID);
acpigen_write_name_integer("_UID", 1); acpigen_write_name_integer("_UID", 1);
acpigen_write_name_string("_DDN", dev->chip_ops->name); 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)); acpigen_write_STA(acpi_device_status(dev));
/* Resources */ /* Resources */