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

Patrice Chotard patrice.chotard at st.com
Wed Jan 7 02:30:49 PST 2015


Hi Linus
On 01/07/2015 10:44 AM, Linus Walleij wrote:
> 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.

Don't worry ;-)

Thanks

>
> Yours,
> Linus Walleij




More information about the linux-arm-kernel mailing list