Skip to content

Commit d8e4f9a

Browse files
committed
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 <tiwai@suse.de>
1 parent 2475b0d commit d8e4f9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/core/init.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ static void snd_card_set_id_no_lock(struct snd_card *card, const char *nid)
514514
id = card->id;
515515

516516
if (*id == '\0')
517-
strcpy(id, "default");
517+
strcpy(id, "Default");
518518

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

0 commit comments

Comments
 (0)