linux-kernel-test/sound
Clemens Ladisch f217ac59b6 sound: snd_ctl_remove_unlocked_id: simplify user control counting
Move the decrementing of the user controls counter from
snd_ctl_elem_remove to snd_ctl_remove_unlocked_id; this saves the
separate locking of the controls semaphore, and therefore removes
a harmless race.

Since the purpose of the function is to operate on user controls (the
control being unlocked is just a prerequisite), rename it to
snd_ctl_remove_user_ctl.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-17 12:48:15 +02:00
..
aoa ALSA: sound/aoa: Add kmalloc NULL tests 2009-07-31 10:14:58 +02:00
arm ASoC: Fix NULL pointer dereference in __pxa2xx_pcm_hw_free 2009-07-09 10:36:19 +01:00
atmel
core sound: snd_ctl_remove_unlocked_id: simplify user control counting 2009-08-17 12:48:15 +02:00
drivers time: move PIT_TICK_RATE to linux/timex.h 2009-06-16 19:47:27 -07:00
i2c
isa ALSA: sound/isa: convert nested spin_lock_irqsave to spin_lock 2009-07-19 14:02:29 +02:00
mips ALSA: sgio2audio.c: clean up checking 2009-06-07 09:08:43 +02:00
oss sound: mpu401.c: Buffer overflow 2009-07-29 14:41:24 +02:00
parisc Merge branch 'topic/section-fix' into for-linus 2009-06-10 07:26:46 +02:00
pci Merge branch 'fix/hda' into for-linus 2009-08-12 08:05:20 +02:00
pcmcia
ppc Merge branch 'topic/ps3' into for-linus 2009-06-12 20:03:16 +02:00
sh
soc Merge branch 'fix/asoc' into for-linus 2009-08-12 08:05:19 +02:00
sparc
spi
synth
usb Merge branch 'fix/usb-audio' into for-linus 2009-07-26 11:07:08 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c sound: do not set DEVNAME for OSS devices 2009-07-03 23:36:13 +02:00
sound_firmware.c