On Tue, 2017-03-21 at 13:36 +0100, Rafael J. Wysocki wrote: > On Tue, Mar 21, 2017 at 1:30 PM, Andy Shevchenko > <andriy.shevchenko@xxxxxxxxxxxxxxx> 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 <andriy.shevchenko@xxxxxxxxxxxxxxx> Intel Finland Oy -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html