[RESEND PATCH 1/2] pinctrl: st: avoid multiple mutex lock

Linus Walleij linus.walleij at linaro.org
Wed Jan 7 01:44:11 PST 2015


On Mon, Jan 5, 2015 at 11:04 AM, Patrice CHOTARD <patrice.chotard at st.com> wrote:

> From: Francesco VIRLINZI <francesco.virlinzi at st.com>
>
> 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 at st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>

Patch applied to fixes. Sorry for the delay.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list