Re: [PATCH] pinctrl: starfive: Serialize adding groups and functions
From: Linus Walleij
Date: Mon Jul 11 2022 - 04:23:55 EST
On Mon, Jun 27, 2022 at 10:53 AM Emil Renner Berthing
> From: Jianlong Huang <jianlong.huang@xxxxxxxxxxxxxxxx>
> The pinctrl dt_node_to_map method may be called in parallel which leads
> us to call pinconf_generic_add_group and pinconf_generic_add_function
> in parallel. This is not supported though and leads to errors, so add a
> mutex to serialize these calls.
> Signed-off-by: Jianlong Huang <jianlong.huang@xxxxxxxxxxxxxxxx>
> Signed-off-by: Emil Renner Berthing <kernel@xxxxxxxx>
Patch applied! Sorry for taking so long, I think I was waiting for
maintainer feedback that never arrived.