[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHQZ30CU2-YtOfGYXJq3c=-1ttyw=hKZvViOfWGAKkxXO1C5Gw@mail.gmail.com>
Date: Wed, 14 Sep 2022 09:21:08 -0600
From: Raul Rangel <rrangel@...omium.org>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: Linux ACPI <linux-acpi@...r.kernel.org>,
linux-input <linux-input@...r.kernel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
"jingle.wu" <jingle.wu@....com.tw>,
"Limonciello, Mario" <mario.limonciello@....com>,
Tim Van Patten <timvp@...gle.com>,
Linus Walleij <linus.walleij@...aro.org>,
Hans de Goede <hdegoede@...hat.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Asmaa Mnebhi <asmaa@...dia.com>,
Bartosz Golaszewski <brgl@...ev.pl>,
"David S. Miller" <davem@...emloft.net>,
David Thompson <davthompson@...dia.com>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Len Brown <lenb@...nel.org>,
Lu Wei <luwei32@...wei.com>, Paolo Abeni <pabeni@...hat.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 05/13] gpiolib: acpi: Add wake_capable parameter to acpi_dev_gpio_irq_get_by
On Tue, Sep 13, 2022 at 11:55 PM Mika Westerberg
<mika.westerberg@...ux.intel.com> wrote:
>
> Hi,
>
> On Mon, Sep 12, 2022 at 04:13:09PM -0600, Raul E Rangel wrote:
> > +int acpi_dev_gpio_irq_get_by(struct acpi_device *adev, const char *name,
> > + int index, int *wake_capable)
>
> Here too bool.
I've incorporated both of your suggestions. I instead added
`acpi_dev_gpio_irq_wake_get_by` as the basic function and left
`acpi_dev_gpio_irq_get_by` the same. THis way I don't have to update
any of the callers.
Powered by blists - more mailing lists