linux/sound
Benjamin Herrenschmidt 41e904dee2 [POWERPC] Fix snd-powermac refcounting bugs
The old snd-powermac driver has some serious refcounting issues when
initialisation fails, which is the case on all new machines with
a layout-id since those are handled by the new snd-aoa driver.

Some of those bugs seem to have been under the radar for some time
(like double pci_dev_put), but one was actually added in 2.6.22 with
Stephen attempt at teaching refcounting to the driver which didn't
do it at all.

This patch fixes both, thus removing all sort of kref errors that
would happen if that driver gets loaded on a G5 machine or a recent
PowerBook due to OF nodes left around with a 0 refcount.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-19 14:54:56 +10:00
..
aoa [ALSA] snd-aoa-i2sbus: use MODULE_DEVICE_TABLE instead of plain MODULE_ALIAS 2007-05-11 16:55:54 +02:00
arm potential parse error in ifdef 2007-06-01 08:18:27 -07:00
core [ALSA] pcm_native: lockdep warning when launching jack 2007-05-11 16:55:57 +02:00
drivers [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
i2c [ALSA] Fix misc bugs in i2c/others/ak4114.c 2007-05-11 16:55:57 +02:00
isa [ALSA] Fix probe of non-PnP ISA devices 2007-05-16 12:22:44 +02:00
mips
oss sound: convert "sound" subdirectory to UTF-8 2007-05-09 08:58:22 +02:00
parisc [PARISC] fix section mismatch warnings in harmony sound driver 2007-02-17 01:19:12 -05:00
pci [ALSA] hda-codec - Fix STAC922x capture boost level 2007-05-31 09:06:04 +02:00
pcmcia [ALSA] sound/pcmcia/vx/vxpocket.c: fix an if() condition 2007-05-11 16:56:13 +02:00
ppc [POWERPC] Fix snd-powermac refcounting bugs 2007-06-19 14:54:56 +10:00
soc [ALSA] Fix ASoC s3c24xx-pcm spinlock bug 2007-05-31 09:06:03 +02:00
sparc [ALSA] Fix compilation error in sparc/cs4231.c 2007-05-11 16:55:44 +02:00
synth [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
usb [ALSA] usbaudio - Coping with short replies in usbmixer 2007-05-16 12:23:20 +02:00
ac97_bus.c [ALSA] ac97_bus power management 2007-02-09 09:03:54 +01:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
last.c
Makefile
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