Commit d8e4f9ae authored by Takashi Iwai's avatar Takashi Iwai

ALSA: core - Don't use "default' for default

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 2475b0d4
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment