Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755838AbcKVPqV (ORCPT ); Tue, 22 Nov 2016 10:46:21 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:37874 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755767AbcKVPqT (ORCPT ); Tue, 22 Nov 2016 10:46:19 -0500 Date: Tue, 22 Nov 2016 15:49:19 +0000 From: Lee Jones To: Milo Kim Cc: Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] mfd: tps65217: Support an interrupt pin as the system wakeup Message-ID: <20161122154919.GE10134@dell.home> References: <20161115130215.3301-1-woogyom.kim@gmail.com> <20161115130215.3301-6-woogyom.kim@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161115130215.3301-6-woogyom.kim@gmail.com> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 796 Lines: 31 On Tue, 15 Nov 2016, Milo Kim wrote: > TPS65217 INT pin is used for the system wakeup from suspend mode. > This patch enables push button or charger input event as a wakeup source. > > Signed-off-by: Milo Kim > --- > drivers/mfd/tps65217.c | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks. > diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c > index 7376090..f769c7d 100644 > --- a/drivers/mfd/tps65217.c > +++ b/drivers/mfd/tps65217.c > @@ -183,6 +183,8 @@ static int tps65217_irq_init(struct tps65217 *tps, int irq) > return ret; > } > > + enable_irq_wake(irq); > + > return 0; > } > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog