commit | 6e2ad51190cdb11b364377882134513f60dec6b9 | [log] [tgz] |
---|---|---|
author | Ole Henrik Jahren <olehenja@alumni.ntnu.no> | Sun Mar 06 20:42:39 2011 +0100 |
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | Wed Apr 13 15:46:52 2011 +0200 |
tree | ea112778575ab257cb9d90638deec4bd676443a1 | |
parent | 51ef85d8f9ae24475a0cb1bd772258eafec91c69 [diff] |
avr32: fix deadlock when reading clock list in debugfs 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@alumni.ntnu.no> Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>