diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-04-04 12:43:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-04-04 12:43:23 +0200 |
commit | d8e4f9aed82c68b60f81b2e7977c46868d51062f (patch) | |
tree | a3b16c5f6ea376ba503546a7a8e493f72f596ebd /sound/core | |
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/core')
-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 a0080aa45ae..30ecad41403 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) { |