On Mon, Jan 2, 2017 at 1:07 PM, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > There are two bits in the PADCFG0 register to configure direction, one per > TX/RX buffers. > > For now we wrongly assume that the GPIO is always requested before it is being > used, which is not true when the GPIO is used through irqchip. In this case the > GPIO is never requested and we never enable RX buffer for it. > > Fix this by setting both bits accordingly. > > Reported-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> I applied this patch for fixes on top of Mika's pad offset fix. Hope this is right... There is some noise in the thread but AFAICT there are more fixes coming. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html