1
linux/sound/drivers
Akinobu Mita 479ef4369f [ALSA] sound: fix incorrect use of platform_device_register()
The platform_device allocated by platform_device_alloc()
should be added to the device hierarchy by platform_device_add()
instead of platform_device_register().
Otherwise it will hit WARN_ON() in platform_device_register().
by illegal refcount.
This patch fixes such incorrect usages in portman2x4 and mts64 drivers.
Also it removes unnecessary trailing whitespaces.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-05-11 16:56:08 +02:00
..
mpu401 [ALSA] mpu401 - Add MPU401_INFO_UART_ONLY bitflag 2007-05-11 16:55:43 +02:00
opl3 [ALSA] add more sequencer port type information bits 2006-06-22 21:33:18 +02:00
opl4 [ALSA] opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values 2006-09-23 10:47:47 +02:00
vx [ALSA] Add even more 'const' to everything related to TLV 2007-02-09 09:03:19 +01:00
dummy.c [ALSA] Fix __devinit and __devexit issues with sound drivers 2007-02-14 08:38:28 +01:00
Kconfig [ALSA] Add snd-portman2x4 driver for Midiman Portman 2x4 MIDI device 2007-02-09 09:03:11 +01:00
Makefile [ALSA] Add snd-portman2x4 driver for Midiman Portman 2x4 MIDI device 2007-02-09 09:03:11 +01:00
mtpav.c [ALSA] Fix __devinit and __devexit issues with sound drivers 2007-02-14 08:38:28 +01:00
mts64.c [ALSA] sound: fix incorrect use of platform_device_register() 2007-05-11 16:56:08 +02:00
portman2x4.c [ALSA] sound: fix incorrect use of platform_device_register() 2007-05-11 16:56:08 +02:00
serial-u16550.c [ALSA] Fix __devinit and __devexit issues with sound drivers 2007-02-14 08:38:28 +01:00
virmidi.c Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa 2007-02-14 09:51:20 -08:00