android_kernel_google_msm/sound
Michael Gernoth 4ba8f6690e 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: Zefan Li <lizefan@huawei.com>
2015-09-18 09:20:28 +08:00
..
aoa
arm ALSA: pxa2xx: Fix unlocked snd_pcm_stop() call 2014-03-11 16:10:09 -07:00
atmel dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes 2012-02-22 18:15:39 +05:30
core ALSA: control: Add sanity checks for user ctl id name string 2015-06-19 11:40:24 +08:00
drivers ALSA: pcsp: Fix the order of input device unregistration 2014-04-14 06:44:31 -07:00
firewire IEEE 1394 (FireWire) subsystem updates post v3.3: 2012-03-22 20:31:15 -07:00
i2c ALSA: ak411x: Fix stall in work callback 2015-04-14 17:33:59 +08:00
isa ALSA: msnd: Avoid duplicated driver name 2013-11-29 10:50:34 -08:00
mips
oss sound: Fix make allmodconfig on MIPS correctly 2013-08-20 08:26:27 -07:00
parisc
pci ALSA: emu10k1: don't deadlock in proc-functions 2015-09-18 09:20:28 +08:00
pcmcia
ppc
sh
soc ASoC: cs4271: Increase delay time after reset 2015-09-18 09:20:27 +08:00
sparc
spi
synth
usb ALSA: usb - Creative USB X-Fi Pro SB1095 volume knob support 2015-06-19 11:40:31 +08:00
ac97_bus.c
Kconfig
last.c ALSA: workaround: change the timing of alsa_sound_last_init() 2012-04-19 13:51:54 +02:00
Makefile
sound_core.c
sound_firmware.c