Searched hist:"479 ef4369f65abf4c3e7bbe44ef934a465257ee1" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/drivers/ |
H A D | portman2x4.c | diff 479ef4369f65abf4c3e7bbe44ef934a465257ee1 Mon Apr 23 04:54:41 CDT 2007 Akinobu Mita <akinobu.mita@gmail.com> [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>
|
H A D | mts64.c | diff 479ef4369f65abf4c3e7bbe44ef934a465257ee1 Mon Apr 23 04:54:41 CDT 2007 Akinobu Mita <akinobu.mita@gmail.com> [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>
|