projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216c7a0
)
ALSA: hda - Use xxx Boost Volume for VIA
author
Takashi Iwai
<tiwai@suse.de>
Tue, 21 Jun 2011 06:37:41 +0000
(08:37 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 21 Jun 2011 06:37:41 +0000
(08:37 +0200)
Drop "Capture" prefix from the mic-boost names.
Otherwise some control names can overflow the max name length.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_via.c
b/sound/pci/hda/patch_via.c
index 819267a4e2df72bff669292afe1eb0a002525f09..51e7ce010543516b41733486c1175acb3f794067 100644
(file)
--- a/
sound/pci/hda/patch_via.c
+++ b/
sound/pci/hda/patch_via.c
@@
-1947,7
+1947,7
@@
static int via_auto_create_analog_input_ctls(struct hda_codec *codec,
if (caps == -1 || !(caps & AC_AMPCAP_NUM_STEPS))
continue;
label = hda_get_autocfg_input_label(codec, cfg, i);
- snprintf(name, sizeof(name), "%s Boost
Capture
Volume", label);
+ snprintf(name, sizeof(name), "%s Boost Volume", label);
err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name,
HDA_COMPOSE_AMP_VAL(pin, 3, 0, HDA_INPUT));
if (err < 0)