• J
    ALSA: Core - add snd_card_set_id() function · 10a8ebbb
    Jaroslav Kysela 提交于
    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: NJaroslav Kysela <perex@perex.cz>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    10a8ebbb
init.c 23.3 KB