Re: [PATCH] avr32: fix deadlock when reading clock list in debugfs

From: Hans-Christian Egtvedt
Date: Wed Apr 13 2011 - 09:17:56 EST

On Sun, 2011-03-06 at 20:42 +0100, Ole Henrik Jahren wrote:
> When writing out /sys/kernel/debug/at32ap_clk, clock list lock is being
> held while clk_get() is called. clk_get() attempts to take the same
> lock, which results in deadlock. Introduce and call lock free version,
> __clk_get(), instead.
> Signed-off-by: Ole Henrik Jahren <olehenja@xxxxxxxxxxxxxx>
> Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@xxxxxxxxx>

Thanks for this fix, added to the AVR32 tree.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@xxxxxxxxx>

<snipp patch>

Hans-Christian Egtvedt

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at