Re: rc4 and later log message: gpiochip_add_data_with_key: get_direction failed
From: Genes Lists
Date: Tue Mar 11 2025 - 15:31:03 EST
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.
I can wait till it gets to mainline or can pull from next - if so,
which commit(s) would I need to do that?
It's seems pretty minor, so happy to wait or can patch mainline and
test if you prefer.
thanks,
--
Gene
Attachment:
signature.asc
Description: This is a digitally signed message part