]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: cros_ec: Send correct suspend/resume event to EC
authorShawn Nematbakhsh <shawnn@chromium.org>
Fri, 13 Jan 2017 15:04:32 +0000 (16:04 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 13 Feb 2017 09:29:43 +0000 (09:29 +0000)
commit9c576bd35ef4086f25c04ec662019c33494ee2fb
treea2833285bcf62364ea7b3dc9e159f906dbe98403
parent644b2ee06d9af0846caa70d13056d50917b98c67
mfd: cros_ec: Send correct suspend/resume event to EC

pm_suspend_via_firmware() will return false for platforms with ACPI
disabled and ACPI is a prerequisite for S0ix support.

With this patch, sleep state event sent to EC is forced to S3 if ACPI is
disabled.

Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec.c