[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2e66b506-0b09-41dd-bc67-8c6935ce5157@gmx.net>
Date: Fri, 19 Jul 2024 05:53:24 +0200
From: Stefan Wahren <wahrenst@....net>
To: Bough Chen <haibo.chen@....com>
Cc: Bartosz Golaszewski <brgl@...ev.pl>,
Linus Walleij <linus.walleij@...aro.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"imx@...ts.linux.dev" <imx@...ts.linux.dev>
Subject: Re: [PATCH] gpio: vf610: always set GPIO to input mode when used as
interrupt source
Am 19.07.24 um 03:46 schrieb Bough Chen:
>> -----Original Message-----
>> From: Stefan Wahren <wahrenst@....net>
>> Sent: 2024年7月19日 1:09
>> To: Bough Chen <haibo.chen@....com>
>> Cc: Bartosz Golaszewski <brgl@...ev.pl>; Linus Walleij
>> <linus.walleij@...aro.org>; open list:GPIO SUBSYSTEM
>> <linux-gpio@...r.kernel.org>; Linux Kernel Mailing List
>> <linux-kernel@...r.kernel.org>; imx@...ts.linux.dev
>> Subject: Re: [PATCH] gpio: vf610: always set GPIO to input mode when used as
>> interrupt source
>>
>> Hi,
>>
>> I found this thread about the vf610 driver, because I noticed today that the
>> i.MX93 is missing the GPIO get_direction callback.
> I find the patch was wrong, we can't call gc.direction_input in vf610_gpio_irq_set_type(), because gc.direction_input will call pinctrl_gpio_direction_input(), this API can't be used in irq context.
>
> For get_direction callback, yes, I will send a patch this week.
Sounds great. You can add me to CC for it, because i'm usually
subscribed to linux-arm-kernel instead of linux-kernel.
Regards
Powered by blists - more mailing lists