aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cacheinfo.c
diff options
context:
space:
mode:
authorMichael Gernoth <michael@gernoth.net>2015-04-09 23:42:15 +0200
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 00:32:03 +0100
commit6cc0e3dd8ad7858810b37cbf39f4e9f0debb0712 (patch)
treeb716830d96ab21e455d709370081402284747607 /arch/powerpc/kernel/cacheinfo.c
parent83911b9e069169fffd82212f478952d474ee1e8d (diff)
downloadkernel_samsung_smdk4412-6cc0e3dd8ad7858810b37cbf39f4e9f0debb0712.zip
kernel_samsung_smdk4412-6cc0e3dd8ad7858810b37cbf39f4e9f0debb0712.tar.gz
kernel_samsung_smdk4412-6cc0e3dd8ad7858810b37cbf39f4e9f0debb0712.tar.bz2
ALSA: emu10k1: don't deadlock in proc-functions
commit 91bf0c2dcb935a87e5c0795f5047456b965fd143 upstream. 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 <michael@gernoth.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/powerpc/kernel/cacheinfo.c')
0 files changed, 0 insertions, 0 deletions