WSL2-Linux-Kernel/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 ALSA: lto, sound: Fix export symbols for !CONFIG_MODULES 2012-08-20 11:53:10 +02:00
Kconfig
Makefile
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 ALSA: remove the main version information 2012-09-04 11:38:32 +02:00
info_oss.c ALSA: remove the main version information 2012-09-04 11:38:32 +02:00
init.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
isadma.c
jack.c
memalloc.c
memory.c
misc.c sound: use printk_get_level and printk_skip_level 2012-07-30 17:25:14 -07:00
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 ALSA: pcm: Add snd_pcm_rate_bit_to_rate() 2012-06-18 09:38:58 +02:00
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