On Mon, Jan 5, 2015 at 11:04 AM, Patrice CHOTARD <patrice.chotard@xxxxxx> wrote:
From: Francesco VIRLINZI <francesco.virlinzi@xxxxxx>Patch applied to fixes. Sorry for the delay.
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@xxxxxx>
Signed-off-by: Patrice Chotard <patrice.chotard@xxxxxx>
Yours,
Linus Walleij