aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMichael Gernoth <[email protected]>2015-04-09 23:42:15 +0200
committerTakashi Iwai <[email protected]>2015-04-10 13:02:23 +0200
commit91bf0c2dcb935a87e5c0795f5047456b965fd143 (patch)
treeec91242a6c5756eb131a9cd6ecc4252a4b8185b8 /lib/cpu-notifier-error-inject.c
parent3dc8523fa7412e731441c01fb33f003eb3cfece1 (diff)
ALSA: emu10k1: don't deadlock in proc-functions
The functions snd_emu10k1_proc_spdif_read and snd_emu1010_fpga_read acquire the emu_lock before accessing the FPGA. The function used to access the FPGA (snd_emu1010_fpga_read) also tries to take the emu_lock which causes a deadlock. Remove the outer locking in the proc-functions (guarding only the already safe fpga read) to prevent this deadlock. [removed superfluous flags variables too -- tiwai] Signed-off-by: Michael Gernoth <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions