summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/cros_ec_dev.c
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-02-14 20:58:02 +0100
committerBenson Leung <bleung@chromium.org>2017-06-27 18:19:15 +0200
commit29d99b966d60029a11d08b9b004cd84b21ce0d67 (patch)
tree96d561541a90fa53de63670cf27eb6c1726b42ba /drivers/platform/chrome/cros_ec_dev.c
parentcros_ec: Fix deadlock when EC is not responsive at probe (diff)
downloadlinux-29d99b966d60029a11d08b9b004cd84b21ce0d67.tar.xz
linux-29d99b966d60029a11d08b9b004cd84b21ce0d67.zip
cros_ec: Don't signal wake event for non-wake host events
The subset of wake-enabled host events is defined by the EC, but the EC may still send non-wake host events if we're in the process of suspending. Get the mask of wake-enabled host events from the EC and filter out non-wake events to prevent spurious aborted suspend attempts. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_dev.c')
0 files changed, 0 insertions, 0 deletions