[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170627162353.GC39605@decatoncale.mtv.corp.google.com>
Date: Tue, 27 Jun 2017 09:23:53 -0700
From: Benson Leung <bleung@...gle.com>
To: Thierry Escande <thierry.escande@...labora.com>
Cc: Lee Jones <lee.jones@...aro.org>,
Benson Leung <bleung@...omium.org>,
linux-kernel@...r.kernel.org, enric.balletbo@...labora.com
Subject: Re: [PATCH v2 3/3] cros_ec: Don't signal wake event for non-wake
host events
Hi Thierry,
On Tue, Feb 14, 2017 at 08:58:02PM +0100, Thierry Escande wrote:
> From: Shawn Nematbakhsh <shawnn@...omium.org>
>
> 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@...omium.org>
> Signed-off-by: Thierry Escande <thierry.escande@...labora.com>
> ---
> 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(-)
>
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.
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@...gle.com
Chromium OS Project
bleung@...omium.org
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists