[PATCH v2 0/3] mfd: cros_ec: non-wake host events support

From: Thierry Escande
Date: Tue Feb 14 2017 - 14:59:10 EST


This patchset adds support for non-wake host events. These are events
sent by the EC that should not wakeup the device.

This patchset also adds 2 fixes in cros_ec regarding a possible deadlock
and an error code returned when it should not.

This patchset depends on [1] to compile

- Check for wake_event state in cros_ec_get_next_event()
- Remove cros_ec_get_host_event() implementation already
introduced by [1]

[1] https://lkml.org/lkml/2017/1/19/278

Gwendal Grignou (1):
cros_ec: Fix deadlock when EC is not responsive at probe

Shawn Nematbakhsh (1):
cros_ec: Don't signal wake event for non-wake host events

Thierry Escande (1):
cros_ec: Don't return error when checking command version

drivers/mfd/cros_ec.c | 13 +++--
drivers/platform/chrome/cros_ec_proto.c | 96 ++++++++++++++++++++++++++++++---
include/linux/mfd/cros_ec.h | 16 +++++-
3 files changed, 115 insertions(+), 10 deletions(-)