kernel-hacking-2024-linux-s.../sound/core
Takashi Iwai 8bb4d9ce08 ALSA: Fix card refcount unbalance
There are uncovered cases whether the card refcount introduced by the
commit a0830dbd isn't properly increased or decreased:
- OSS PCM and mixer success paths
- When lookup function gets NULL

This patch fixes these places.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=50251

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-11-08 14:36:18 +01:00
..
oss ALSA: Fix card refcount unbalance 2012-11-08 14:36:18 +01:00
seq
compress_offload.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
control.c ALSA: Avoid endless sleep after disconnect 2012-10-30 11:07:15 +01:00
control_compat.c
ctljack.c
device.c
hrtimer.c
hwdep.c ALSA: Avoid endless sleep after disconnect 2012-10-30 11:07:15 +01:00
hwdep_compat.c
info.c
info_oss.c
init.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
isadma.c
jack.c
Kconfig
Makefile
memalloc.c
memory.c
misc.c
pcm.c ALSA: Avoid endless sleep after disconnect 2012-10-30 11:07:15 +01:00
pcm_compat.c
pcm_lib.c ALSA: Fix leftover chmap UNKNOWN -> MONO conversions 2012-09-13 14:48:46 +02:00
pcm_memory.c ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases 2012-09-23 11:24:42 +02:00
pcm_misc.c
pcm_native.c ALSA: Fix card refcount unbalance 2012-11-08 14:36:18 +01:00
pcm_timer.c
rawmidi.c ALSA: Avoid endless sleep after disconnect 2012-10-30 11:07:15 +01:00
rawmidi_compat.c
rtctimer.c
sgbuf.c ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases 2012-09-23 11:24:42 +02:00
sound.c ALSA: Fix card refcount unbalance 2012-11-08 14:36:18 +01:00
sound_oss.c ALSA: Fix card refcount unbalance 2012-11-08 14:36:18 +01:00
timer.c
timer_compat.c
vmaster.c