Skip to content
Commit e2961cd6 authored by Jianlong Huang's avatar Jianlong Huang Committed by Linus Walleij
Browse files

pinctrl: starfive: Serialize adding groups and functions



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: default avatarJianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: default avatarEmil Renner Berthing <kernel@esmil.dk>
Link: https://lore.kernel.org/r/20220627085333.1774396-1-emil.renner.berthing@canonical.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 04131ae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment