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
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
isa
mips
oss misc: fix integer as NULL pointer warnings 2008-05-08 10:46:55 -07:00
parisc
pci [ALSA] hda - Fix ASUS P5GD1 model 2008-05-20 11:56:40 +02:00
pcmcia
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
spi
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
Kconfig snd-pcsp: adjust help texts to frighten users 2008-05-19 12:04:35 +02:00
last.c
Makefile
sound_core.c
sound_firmware.c