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

From: Linus Walleij
Date: Wed Jan 07 2015 - 04:44:48 EST


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

> From: Francesco VIRLINZI <francesco.virlinzi@xxxxxx>
>
> 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>

Patch applied to fixes. Sorry for the delay.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/