summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorFrancesco VIRLINZI <francesco.virlinzi@st.com>2015-01-05 13:04:13 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-01-07 12:43:41 +0300
commit96d16c3088a924a44175d2923cc0eafa0d8bbecc (patch)
tree03308ef2873f09f6e45e491e0d1e788fa4e99e0e /drivers/hwspinlock
parentf2dd028c2632d107c26b1daed543d9efd4f0decd (diff)
downloadlinux-96d16c3088a924a44175d2923cc0eafa0d8bbecc.tar.xz
pinctrl: st: avoid multiple mutex lock
Using the sysfs inteface to inspect the pins configuration the system can walk around a path which acquires the same mutex twice. On STiH407 platform, for example : cat /sys/kernel/debug/pinctrl/920f080.pin-controller-front0/pinconf-pins hangs the kernel and never returns. With this patch the mutex is temporary freed. Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions