linux/sound
Greg Kroah-Hartman 5d99a8b814 SOUND: fix race in device_create
There is a race from when a device is created with device_create() and
then the drvdata is set with a call to dev_set_drvdata() in which a
sysfs file could be open, yet the drvdata will be NULL, causing all
sorts of bad things to happen.

This patch fixes the problem by using the new function,
device_create_drvdata().

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-20 13:31:55 -07:00
..
aoa [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
arm [ALSA] pxa2xx-ac97: Support PXA3xx AC97 2008-04-24 12:00:41 +02:00
core SOUND: fix race in device_create 2008-05-20 13:31:55 -07:00
drivers snd-pcsp: use HRTIMER_CB_SOFTIRQ 2008-05-20 11:56:24 +02:00
i2c [ALSA] some fixes and cleanup for ICE1724 cards 2008-04-24 12:00:25 +02:00
isa [ALSA] sound: replace remaining __FUNCTION__ occurences 2008-04-24 12:00:20 +02:00
mips [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
oss misc: fix integer as NULL pointer warnings 2008-05-08 10:46:55 -07:00
parisc [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
pci [ALSA] hda - Fix ASUS P5GD1 model 2008-05-20 11:56:40 +02:00
pcmcia [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
ppc [ALSA] snd-powermac: style burgundy.c 2008-04-24 12:00:38 +02:00
sh Remove duplicated unlikely() in IS_ERR() 2008-04-29 08:06:25 -07:00
soc [ALSA] ASoC: Fix wrong enum count for jack_function in N810 machine driver 2008-05-13 15:15:58 +02:00
sparc [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
spi [ALSA] at73c213: Add constraints for periods value 2008-04-24 12:00:26 +02:00
synth [ALSA] emux midi synthesizer doesn't honor SOFT_PEDAL-release event 2008-05-13 14:47:43 +02:00
usb [ALSA] usb-audio - Fix race in reconnection 2008-04-24 12:00:39 +02:00
ac97_bus.c [ALSA] ac97_bus power management 2007-02-09 09:03:54 +01:00
Kconfig snd-pcsp: adjust help texts to frighten users 2008-05-19 12:04:35 +02:00
last.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
sound_core.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00