]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: Introduce snd_card_create()
authorTakashi Iwai <tiwai@alsa3.local>
Sun, 28 Dec 2008 15:32:08 +0000 (16:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2009 13:56:41 +0000 (14:56 +0100)
commit53fb1e63599438bd5f6fbb852023d80916d83983
tree9fdf278a517805b11a977ce69ffbf61298ba0aac
parentc59765042f53a79a7a65585042ff463b69cb248c
ALSA: Introduce snd_card_create()

Introduced snd_card_create() function as a replacement of snd_card_new().
The new function returns a negative error code so that the probe callback
can return the proper error code, while snd_card_new() can give only NULL
check.

The old snd_card_new() is still provided as an inline function but with
__deprecated attribute.  It'll be removed soon later.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/init.c