Re: gpio desc flags being lost

From: Linus Walleij
Date: Wed Jul 03 2019 - 02:28:20 EST


On Wed, Jul 3, 2019 at 7:35 AM Chris Packham
<Chris.Packham@xxxxxxxxxxxxxxxxxxx> wrote:

> Doing a bit of debugging so far I see that after startup the desc->flags
> for those gpios is 0. But for the hogged ones it should be 0x800 (or 0x801).

Yeah that is wrong.

> I'll do some proper bisecting tomorrow, but figured you might want to
> know sooner rather than later.

Thanks, I have another critical GPIO fix queued so would be great if we
can fix this too before v5.2 is released.

Yours,
Linus Walleij