From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754856AbdBNT7I (ORCPT ); Tue, 14 Feb 2017 14:59:08 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59662 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754778AbdBNT6V (ORCPT ); Tue, 14 Feb 2017 14:58:21 -0500 From: Thierry Escande To: Lee Jones Cc: Benson Leung , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] mfd: cros_ec: non-wake host events support Date: Tue, 14 Feb 2017 20:57:59 +0100 Message-Id: <1487102282-12259-1-git-send-email-thierry.escande@collabora.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, 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 v2: - 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(-) -- 2.7.4