[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaZzDXxuKnCiXpaWabO_ZDzmgGRVWAGXh9X_0+stii8Mw@mail.gmail.com>
Date: Tue, 12 May 2020 14:39:28 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Paul Cercueil <paul@...pouillou.net>
Cc: od@...c.me,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: ingenic: Add irq_{request,release}_resources callbacks
On Sun, May 3, 2020 at 6:45 PM Paul Cercueil <paul@...pouillou.net> wrote:
> These are called when a GPIO is to be used as IRQ.
>
> Without these custom callbacks, when an interrupt is requested directly
> and not through gpiod_to_irq(), the request fails because the GPIO is
> not necesarily in input mode. These callbacks simply enforce that the
> requested GPIO is in input mode.
>
> Signed-off-by: Paul Cercueil <paul@...pouillou.net>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists