aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-21 02:37:41 -0400
committerTakashi Iwai <tiwai@suse.de>2011-06-21 02:37:41 -0400
commit30f7c5d491ec2d515148882fa0b4080ab61d4bb0 (patch)
tree0f322c3f657d2a581d12ad48df5e42b70eadce2f /sound
parent216c7a0f22a088ff9f7c14f82c5bf93294875df9 (diff)
ALSA: hda - Use xxx Boost Volume for VIA
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 819267a4e2df..51e7ce010543 100644
--- 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,
1947 if (caps == -1 || !(caps & AC_AMPCAP_NUM_STEPS)) 1947 if (caps == -1 || !(caps & AC_AMPCAP_NUM_STEPS))
1948 continue; 1948 continue;
1949 label = hda_get_autocfg_input_label(codec, cfg, i); 1949 label = hda_get_autocfg_input_label(codec, cfg, i);
1950 snprintf(name, sizeof(name), "%s Boost Capture Volume", label); 1950 snprintf(name, sizeof(name), "%s Boost Volume", label);
1951 err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name, 1951 err = via_add_control(spec, VIA_CTL_WIDGET_VOL, name,
1952 HDA_COMPOSE_AMP_VAL(pin, 3, 0, HDA_INPUT)); 1952 HDA_COMPOSE_AMP_VAL(pin, 3, 0, HDA_INPUT));
1953 if (err < 0) 1953 if (err < 0)