From: Francesco VIRLINZI Date: Mon, 5 Jan 2015 10:04:13 +0000 (+0100) Subject: pinctrl: st: avoid multiple mutex lock X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~315^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96d16c3088a924a44175d2923cc0eafa0d8bbecc;p=pandora-kernel.git 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 Signed-off-by: Patrice Chotard Signed-off-by: Linus Walleij --- Reading git-diff-tree failed