aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-18 14:37:16 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-18 14:37:16 +0100
commit1799cdd51adeca201625542faeef19ca7a74b2d3 (patch)
tree4e2472c7c9cdb32cf56255ad366377619d00f775 /sound/pci/hda/hda_generic.c
parentALSA: hda/sigmatel - Add bass speaker support for HP ENVY Spectre XT (diff)
downloadlinux-dev-1799cdd51adeca201625542faeef19ca7a74b2d3.tar.xz
linux-dev-1799cdd51adeca201625542faeef19ca7a74b2d3.zip
ALSA: hda - Add boost to line inputs, too
Although I commented that boost volumes would be added only for line-in and mic pins in the source code, the actual code excludes but for mic-in. Fix it to accept the line-ins, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/pci/hda/hda_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index f0d83b2f42ac..174806e52236 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -3138,7 +3138,7 @@ static int parse_mic_boost(struct hda_codec *codec)
continue;
/* check only line-in and mic pins */
- if (cfg->inputs[idx].type > AUTO_PIN_MIC)
+ if (cfg->inputs[idx].type > AUTO_PIN_LINE_IN)
continue;
path = get_input_path(codec, 0, i);