From: Takashi Iwai Date: Mon, 4 Apr 2011 10:43:23 +0000 (+0200) Subject: ALSA: core - Don't use "default' for default X-Git-Tag: firefly_0821_release~7613^2~1041^2~14^2~46 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d8e4f9aed82c68b60f81b2e7977c46868d51062f;p=firefly-linux-kernel-4.4.55.git 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: Takashi Iwai --- diff --git a/sound/core/init.c b/sound/core/init.c index a0080aa45ae9..30ecad41403c 100644 --- a/sound/core/init.c +++ b/sound/core/init.c @@ -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) {