android_kernel_xiaomi_sm7250/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
arm potential parse error in ifdef 2007-06-01 08:18:27 -07:00
core
drivers
i2c
isa
mips
oss
parisc
pci [ALSA] hda-codec - Fix STAC922x capture boost level 2007-05-31 09:06:04 +02:00
pcmcia
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
synth
usb [ALSA] usbaudio - Coping with short replies in usbmixer 2007-05-16 12:23:20 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00