From: Jaroslav Kysela Date: Tue, 2 Jun 2009 10:02:38 +0000 (+0200) Subject: ALSA: Core - add snd_card_set_id() function X-Git-Tag: v2.6.31-rc1~363^2~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a8ebbb08c4b08292598947bbe534e04d6ee705;p=pandora-kernel.git ALSA: Core - add snd_card_set_id() function Introduce snd_card_set_id() function to allow lowlevel drivers to set default identification name for card slot. The function checks also for identification name collisions and tries to create unique name. Also, the snd_card_create() function is simplified, because this new function is used. As bonus, proper name collision checks are evaluated at the card create time. Signed-off-by: Jaroslav Kysela Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed