From 3fbe1949b1bed2dfc58d92b01368b308ebacef04 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 15 Oct 2018 13:39:35 -0700 Subject: ec/google/wilco: Save and restore PS/2 data for S3 Send a command to the EC on the way into S3 suspend state telling it to save the PS/2 data, and on resume send it a command for restoring the PS/2 data that was previously saved. Change-Id: Ic4b5d6d2656dbb1c476b9211b0d60c71b0cd7b32 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/29120 Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/ec/google/wilco/smihandler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/google/wilco/smihandler.c') diff --git a/src/ec/google/wilco/smihandler.c b/src/ec/google/wilco/smihandler.c index 8c4bfd364d..60ad8139fe 100644 --- a/src/ec/google/wilco/smihandler.c +++ b/src/ec/google/wilco/smihandler.c @@ -25,6 +25,7 @@ void wilco_ec_smi_sleep(int slp_type) { switch (slp_type) { case ACPI_S3: + wilco_ec_send_noargs(KB_SAVE); wilco_ec_slp_en(); break; case ACPI_S5: -- cgit v1.2.3