Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbdF0QYR (ORCPT ); Tue, 27 Jun 2017 12:24:17 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:35522 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbdF0QYJ (ORCPT ); Tue, 27 Jun 2017 12:24:09 -0400 Date: Tue, 27 Jun 2017 09:23:53 -0700 From: Benson Leung To: Thierry Escande Cc: Lee Jones , Benson Leung , linux-kernel@vger.kernel.org, enric.balletbo@collabora.com Subject: Re: [PATCH v2 3/3] cros_ec: Don't signal wake event for non-wake host events Message-ID: <20170627162353.GC39605@decatoncale.mtv.corp.google.com> References: <1487102282-12259-1-git-send-email-thierry.escande@collabora.com> <1487102282-12259-4-git-send-email-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8X7/QrJGcKSMr1RN" Content-Disposition: inline In-Reply-To: <1487102282-12259-4-git-send-email-thierry.escande@collabora.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2188 Lines: 65 --8X7/QrJGcKSMr1RN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Thierry, On Tue, Feb 14, 2017 at 08:58:02PM +0100, Thierry Escande wrote: > From: Shawn Nematbakhsh >=20 > 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. >=20 > Signed-off-by: Shawn Nematbakhsh > Signed-off-by: Thierry Escande > --- > drivers/mfd/cros_ec.c | 13 ++++-- > drivers/platform/chrome/cros_ec_proto.c | 76 +++++++++++++++++++++++++++= +++--- > include/linux/mfd/cros_ec.h | 5 ++- > 3 files changed, 85 insertions(+), 9 deletions(-) >=20 Another use of cros_ec_get_next_event was introduced in cros_ec_lpc.c since this patch was posted, so I went ahead and modified that too. Applied. Thanks. --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --8X7/QrJGcKSMr1RN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZUoaZAAoJEB8J9XsKL+ZYYT8QAIwE29+1Qw4IjwGWBdlJ+1+6 FutjPHGhHDjpXPKvR6Ao2rlf5bPyJpL6xyJUnOqNBI70iyRdQ+wzxk4RrzI3WANB +WvnmSJLcaqyqKkCoFJcG5PK42w33WQ6H6v6VPmYMZ/et2XbdQ4MFy4lqUqfGjsp 0BfFCsvQaV3lWg/JilZKOIHBEoOtdHXvxY69A64wW4At/AxYLMNor/f3ntU2fIAL 7slX3Vd8SzjZ+GcuDtWerP0TwhMzdPmakoUD7HJ0Y5dlKYkSz0EID4AiYDaBEAZr 7B7qQvZM8lETrKBxGyqkYcJZ80+robgrgzyqqP8HtiOSADyL9DbRRIs2vxgPabio Bg+l3of8VG7h6JIuk5T9Z9jXJTkEDylM4pJ5QYsha2hVi4K/RRXBLvZV8Tjj2Ho9 bhCKb7AQE1M+3laM/EZCHdw8yYOTT7pekTPHdwAtT6Nl1dk3jdDzZyWwUt1CJGS3 awnl2G40Ud1RmmbFFT9zN0tEvWSIRYTvUBLyJDrkjlbKIvx0yyNbCG6akzGZnZD6 o9cr509AU1T+ev6scGMhg5oCVa/6IIOvIvWHfKPO9w6npl7LsZxNnoMmRwSAjTRj CRlwoaO+5GoCl7Bg0NMaa6B2wDaogbU+CEHgYDV0nJ2MSwMhCQ50yRtiKVX9wqW0 tsvlIQBsA2Orr42iV8Yn =Utj0 -----END PGP SIGNATURE----- --8X7/QrJGcKSMr1RN--