git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2dd028
)
pinctrl: st: avoid multiple mutex lock
author
Francesco VIRLINZI
<francesco.virlinzi@st.com>
Mon, 5 Jan 2015 10:04:13 +0000
(11:04 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 7 Jan 2015 09:43:41 +0000
(10:43 +0100)
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>
drivers/pinctrl/pinctrl-st.c
patch
|
blob
|
history
diff --cc
drivers/pinctrl/pinctrl-st.c
Simple merge