Re: rc4 and later log message: gpiochip_add_data_with_key: get_direction failed
From: Bartosz Golaszewski
Date: Tue Mar 11 2025 - 15:50:52 EST
On Tue, Mar 11, 2025 at 8:30 PM Genes Lists <lists@xxxxxxxxxxxx> wrote:
>
> On Tue, 2025-03-11 at 10:40 -0700, Bartosz Golaszewski wrote:
> > On Tue, 11 Mar 2025 15:03:59 +0100, Genes Lists <lists@xxxxxxxxxxxx>
> > said:
> > > On Sat, 2025-03-08 at 15:45 -0500, Genes Lists wrote:
> > > >
> > > > gpio gpiochip0: gpiochip_add_data_with_key: get_direction
> > > > failed: -
> > > > 22
> >
> > Hi Gene!
> >
> > There are two problems here. The issue you're seeing is fixed in next
> > but
> > not in mainline due to my omission. I will send a patch for that.
> >
> > On the other hand, the pinctrl driver in question should be fixed
> > too.
> > Can you try the following change:
> > ...
>
> > Bart
>
>
> Thank you Bart.
>
> I tested your pinctl patch on mainline (on commit
> 0b46b049d6eccd947c361018439fcb596e741d7a) and the same messages are
> logged. Presumably I also need the other patch from next as well.
>
No, they are independent. The other one should fix your issue. Could
you please test it[1] and leave your Tested-by under it on the list?
Bartosz
[1] https://lore.kernel.org/all/20250311175631.83779-1-brgl@xxxxxxxx/