Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8e4f9ae authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -514,7 +514,7 @@ static void snd_card_set_id_no_lock(struct snd_card *card, const char *nid)
	id = card->id;
	id = card->id;
	
	
	if (*id == '\0')
	if (*id == '\0')
		strcpy(id, "default");
		strcpy(id, "Default");


	while (1) {
	while (1) {
	      	if (loops-- == 0) {
	      	if (loops-- == 0) {