On Sun, Jul 7, 2019 at 10:36 PM Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx> wrote: > desc->flags may already have values set by of_gpiochip_add() so make > sure that this isn't undone when setting the initial direction. > > Fixes: 3edfb7bd76bd1cba ("gpiolib: Show correct direction from the beginning") > Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx> Patch applied for fixes and tagged for stable. Thanks for digging into this! Excellent work! Yours, Linus Walleij