diff options
author | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-06-27 10:53:33 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-07-11 10:22:57 +0200 |
commit | e2961cd685fe548f0ffd6c7bd3ae6a491301b1e4 (patch) | |
tree | 32015cc926296d7318fe4c62c543b72849ab933e /scripts/bin2c.c | |
parent | 04131ae29b2d9879ad2357e2b20a5de4dfee89cb (diff) | |
download | linux-stable-e2961cd685fe548f0ffd6c7bd3ae6a491301b1e4.tar.gz linux-stable-e2961cd685fe548f0ffd6c7bd3ae6a491301b1e4.tar.bz2 linux-stable-e2961cd685fe548f0ffd6c7bd3ae6a491301b1e4.zip |
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: Jianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Link: https://lore.kernel.org/r/20220627085333.1774396-1-emil.renner.berthing@canonical.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions