aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctpcm.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2009-06-03 18:12:18 -0400
committerTakashi Iwai <tiwai@suse.de>2009-06-03 19:22:07 -0400
commit5fdc18d938c99399b73fe894bc24cb9400a1a2ee (patch)
tree1fb20990d3d6e784f4394d762e87f6322ca1cd72 /sound/pci/ctxfi/ctpcm.c
parent872c78202c58d26596e25743791ee81a7d24abad (diff)
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 <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctpcm.c')
0 files changed, 0 insertions, 0 deletions