On Mon, Aug 14, 2023 at 9:24 AM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > Fix the below random NULL pointer crash during boot by serializing > pinctrl group and function creation/remove calls in > rzg2l_dt_subnode_to_map() with mutex lock. What about using, hehe, scoped guards? Bartosz premiered the use of this and I already like it a lot... see: https://lore.kernel.org/linux-gpio/20230812183635.5478-1-brgl@xxxxxxxx/ Yours, Linus Walleij