]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ALSA: core - Don't use "default' for default
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Apr 2011 10:43:23 +0000 (12:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Apr 2011 10:43:23 +0000 (12:43 +0200)
The card-id parser assigns the string "default" when no appropriate word
is found in the card name.  But this string may confuse the alsa-lib, so
better to avoid.  Use "Default" now instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c

index a0080aa45ae968dfbcd9607fa39f7b587acc7c33..30ecad41403c1becb741f7312ca247eb96054b8c 100644 (file)
@@ -514,7 +514,7 @@ static void snd_card_set_id_no_lock(struct snd_card *card, const char *nid)
        id = card->id;
        
        if (*id == '\0')
-               strcpy(id, "default");
+               strcpy(id, "Default");
 
        while (1) {
                if (loops-- == 0) {