Skip to content

Commit

Permalink
ALSA: core - Don't use "default' for default
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tiwai committed Apr 4, 2011
1 parent 2475b0d commit d8e4f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/core/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d8e4f9a

Please sign in to comment.