diff options
author | Ole Henrik Jahren <olehenja@alumni.ntnu.no> | 2011-03-06 19:42:39 (GMT) |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2011-04-13 13:46:52 (GMT) |
commit | 6e2ad51190cdb11b364377882134513f60dec6b9 (patch) | |
tree | ea112778575ab257cb9d90638deec4bd676443a1 /firmware/cpia2 | |
parent | 51ef85d8f9ae24475a0cb1bd772258eafec91c69 (diff) | |
download | linux-6e2ad51190cdb11b364377882134513f60dec6b9.tar.xz |
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>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions