aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2012-10-02 04:14:23 -0400
committerTakashi Iwai <tiwai@suse.de>2012-10-06 10:50:47 -0400
commit74d3e69728a0dcee8cd0f93da4dc077431d59606 (patch)
tree177ca7193533a795040449978c07b183137f754e /sound
parentd4f1e48bd11e3df6a26811f7a1f06c4225d92f7d (diff)
ALSA: hda - fix indices on boost volume on Conexant
After the recent patch "ALSA: hda - use both input paths on Conexant auto parser" suddenly we can have more than one "Mic Boost", this happened on Acer Aspire One 722. Therefore we must add the possibility to put an index on this "Mic Boost" just as we do for the other "Mic Boost" earlier in the same function. BugLink: https://bugs.launchpad.net/bugs/1059523 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_conexant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 47938c789f89..03b1dc317ff0 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -4259,7 +4259,7 @@ static int cx_auto_add_boost_volume(struct hda_codec *codec, int idx,
4259 4259
4260 if (get_wcaps(codec, mux) & AC_WCAP_OUT_AMP) { 4260 if (get_wcaps(codec, mux) & AC_WCAP_OUT_AMP) {
4261 spec->imux_info[idx].boost = mux; 4261 spec->imux_info[idx].boost = mux;
4262 return cx_auto_add_volume(codec, label, " Boost", 0, 4262 return cx_auto_add_volume(codec, label, " Boost", cidx,
4263 mux, HDA_OUTPUT); 4263 mux, HDA_OUTPUT);
4264 } 4264 }
4265 return 0; 4265 return 0;