From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH v2] gpio: acpi: Call enable_irq_wake for _IAE GpioInts with Wake set Date: Tue, 21 Mar 2017 14:40:14 +0200 Message-ID: <1490100014.19767.126.camel@linux.intel.com> References: <20170320173221.3397-1-hdegoede@redhat.com> <1490099423.19767.124.camel@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Hans de Goede , Mika Westerberg , Linus Walleij , Alexandre Courbot , ACPI Devel Maling List , linux-gpio@vger.kernel.org List-Id: linux-gpio@vger.kernel.org On Tue, 2017-03-21 at 13:36 +0100, Rafael J. Wysocki wrote: > On Tue, Mar 21, 2017 at 1:30 PM, Andy Shevchenko > wrote: > > On Mon, 2017-03-20 at 18:32 +0100, Hans de Goede wrote: > > > +     bool irq_wake_enabled; > > > > > > +             if (event->irq_wake_enabled) > > > > > > > Same (new) comment as in v1. > > Why not just check for agpio->wake_capable == ACPI_WAKE_CAPABLE > instead as I said? Ah, yes, it could work as well as far as I can see from the code point of view. -- Andy Shevchenko Intel Finland Oy