summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-04-04 12:43:23 +0200
committerTakashi Iwai <tiwai@suse.de>2011-04-04 12:43:23 +0200
commitd8e4f9aed82c68b60f81b2e7977c46868d51062f (patch)
treea3b16c5f6ea376ba503546a7a8e493f72f596ebd /sound/core
parent2475b0d407614ea5a41b8325d45c614d94087088 (diff)
downloadlinux-stable-d8e4f9aed82c68b60f81b2e7977c46868d51062f.tar.gz
linux-stable-d8e4f9aed82c68b60f81b2e7977c46868d51062f.tar.bz2
linux-stable-d8e4f9aed82c68b60f81b2e7977c46868d51062f.zip
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.c2
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)
id = card->id;
if (*id == '\0')
- strcpy(id, "default");
+ strcpy(id, "Default");
while (1) {
if (loops-- == 0) {