On Tue, Jan 16, 2018 at 9:49 PM, Heiner Kallweit <hkallweit1@xxxxxxxxx> wrote: > With the latest next kernel I get a NPE caused by mentioned commit. > The change doesn't consider that the flags parameter can be NULL, > e.g. of_get_named_gpio() sets it to NULL. > All that of_gpio_flags_quirks() does is adjusting the flags, > so the following simple change fixed the issue for me. > > if (flags) > of_gpio_flags_quirks(np, flags); How sloppy of me. I sent a patch. 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