kernel_optimize_test/sound/core
Clemens Ladisch 0767e95bb9 ALSA: seq-dummy: remove deadlock-causing events on close
When the last subscriber to a "Through" port has been removed, the
subscribed destination ports might still be active, so it would be
wrong to send "all sounds off" and "reset controller" events to them.
The proper place for such a shutdown would be the closing of the actual
MIDI port (and close_substream() in rawmidi.c already can do this).

This also fixes a deadlock when dummy_unuse() tries to send events to
its own port that is already locked because it is being freed.

Reported-by: Peter Billam <peter@www.pjb.com.au>
Cc: <stable@vger.kernel.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-26 13:53:13 +01:00
..
oss
seq ALSA: seq-dummy: remove deadlock-causing events on close 2015-01-26 13:53:13 +01:00
compress_offload.c
control_compat.c
control.c ALSA: snd_ctl_activate_id(): Fix index look-up 2014-11-07 14:25:07 +01:00
ctljack.c
device.c
hrtimer.c
hwdep_compat.c
hwdep.c
info_oss.c
info.c ALSA: core: fix buffer overflow in snd_info_get_line() 2014-08-22 07:21:05 +02:00
init.c ALSA: doc: More kerneldoc comments on core components 2014-10-30 15:42:32 +01:00
isadma.c
jack.c
Kconfig
Makefile ALSA: pcm: Replace PCM hwptr tracking with tracepoints 2014-11-04 14:09:14 +01:00
memalloc.c
memory.c
misc.c ALSA: Allow pass NULL dev for snd_pci_quirk_lookup() 2014-10-08 12:08:38 +02:00
pcm_compat.c ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode 2014-10-28 12:45:53 +01:00
pcm_dmaengine.c
pcm_lib.c ALSA: pcm: Replace PCM hwptr tracking with tracepoints 2014-11-04 14:09:14 +01:00
pcm_memory.c
pcm_misc.c ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample format 2014-11-21 15:13:28 +01:00
pcm_native.c ALSA: pcm: Fix document for snd_pcm_stop_xrun() 2014-11-10 07:38:22 +01:00
pcm_timer.c
pcm_trace.h ALSA: pcm: Replace PCM hwptr tracking with tracepoints 2014-11-04 14:09:14 +01:00
pcm.c Merge branch 'for-linus' into for-next 2014-11-28 18:30:19 +01:00
rawmidi_compat.c
rawmidi.c
rtctimer.c
sgbuf.c ALSA: core: Deletion of unnecessary checks before two function calls 2014-11-21 20:06:57 +01:00
sound_oss.c
sound.c ALSA: doc: More kerneldoc comments on core components 2014-10-30 15:42:32 +01:00
timer_compat.c
timer.c
vmaster.c