Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4a9b78b3 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by Subbaraman Narayanamurthy
Browse files

pinctrl: protect pinctrl_list add

We have few fedora bug reports about list corruption on pinctrl,
for example:
https://bugzilla.redhat.com/show_bug.cgi?id=1051918



Most likely corruption happen due lack of protection of pinctrl_list
when adding new nodes to it. Patch corrects that.

Change-Id: I09a0d3c2e51e107b769b156403cb59c6da6b1fd2
Fixes: 42fed7ba ("pinctrl: move subsystem mutex to pinctrl_dev struct")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Git-commit: 7b320cb1ed2dbd2c5f2a778197baf76fd6bf545a
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 235cd46b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment