From: Jaroslav Kysela Date: Wed, 3 Jun 2009 22:12:18 +0000 (+0200) Subject: ALSA: Core - clean up snd_card_set_id* calls and remove possible id collision X-Git-Tag: v2.6.31-rc1~363^2~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fdc18d938c99399b73fe894bc24cb9400a1a2ee;p=pandora-kernel.git ALSA: Core - clean up snd_card_set_id* calls and remove possible id collision Move locking outside snd_card_set_id_internal() function and rename it to snd_card_set_id_no_lock() for better function description. User defined id is just copied to card structure at allocation time. The real unique id procedure is called in snd_card_register() to ensure real atomicity. Signed-off-by: Jaroslav Kysela Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed