• Jaroslav Kysela's avatar
    ALSA: Core - add snd_card_set_id() function · 10a8ebbb
    Jaroslav Kysela authored
    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: default avatarJaroslav Kysela <perex@perex.cz>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    10a8ebbb
init.c 23.3 KB