projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2475b0d
)
ALSA: core - Don't use "default' for default
author
Takashi Iwai
<tiwai@suse.de>
Mon, 4 Apr 2011 10:43:23 +0000
(12:43 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 4 Apr 2011 10:43:23 +0000
(12:43 +0200)
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>
sound/core/init.c
patch
|
blob
|
history
diff --git
a/sound/core/init.c
b/sound/core/init.c
index a0080aa45ae968dfbcd9607fa39f7b587acc7c33..30ecad41403c1becb741f7312ca247eb96054b8c 100644
(file)
--- 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, "
d
efault");
+ strcpy(id, "
D
efault");
while (1) {
if (loops-- == 0) {