From: Stanislaw Gruszka Date: Tue, 4 Feb 2014 08:07:09 +0000 (+0100) Subject: pinctrl: protect pinctrl_list add X-Git-Tag: v3.14-rc2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b320cb1ed2dbd2c5f2a778197baf76fd6bf545a;p=pandora-kernel.git 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. Fixes: 42fed7ba44e ("pinctrl: move subsystem mutex to pinctrl_dev struct") Cc: stable@vger.kernel.org Signed-off-by: Stanislaw Gruszka Acked-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed