On Thu, Aug 18, 2016 at 2:57 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > txx9_gpio_init() calls gpiochip_add_data(), which fails with -ENOMEM as > it is called too early in the boot process. This causes all subsequent > GPIO operations to fail silently. > > Postpone all GPIO setup to .arch_init() time to fix this. > > Suggested-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx> > Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> I guess this will go through the MIPS tree. 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