diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-04-04 06:43:23 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-04-04 06:43:23 -0400 |
commit | d8e4f9aed82c68b60f81b2e7977c46868d51062f (patch) | |
tree | a3b16c5f6ea376ba503546a7a8e493f72f596ebd /sound | |
parent | 2475b0d407614ea5a41b8325d45c614d94087088 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
514 | id = card->id; | 514 | id = card->id; |
515 | 515 | ||
516 | if (*id == '\0') | 516 | if (*id == '\0') |
517 | strcpy(id, "default"); | 517 | strcpy(id, "Default"); |
518 | 518 | ||
519 | while (1) { | 519 | while (1) { |
520 | if (loops-- == 0) { | 520 | if (loops-- == 0) { |