commit | 53fb1e63599438bd5f6fbb852023d80916d83983 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@alsa3.local> | Sun Dec 28 16:32:08 2008 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jan 12 14:56:41 2009 +0100 |
tree | 9fdf278a517805b11a977ce69ffbf61298ba0aac | |
parent | c59765042f53a79a7a65585042ff463b69cb248c [diff] |
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>