On Fri, Apr 17, 2020 at 8:34 PM Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> wrote: > While playing with audio output on Meson8b I found out that the > vendor kernel uses a custom version of the GPIO_PULL_UP flag. I > suspect that we will need this for audio support on Meson8b and/or > Meson8m2 but I don't see it hurt other platforms. > > Also while comparing the register bits with the GPIO direction (of > GPIOs exported to sysfs) I sometimes had a mismatch. This also wires > up gpio_chip.get_direction to have sysfs and the actual registers in > sync. Patches applied. Yours, Linus Walleij