Commit 1799cdd5 authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 49920427
...@@ -3138,7 +3138,7 @@ static int parse_mic_boost(struct hda_codec *codec) ...@@ -3138,7 +3138,7 @@ static int parse_mic_boost(struct hda_codec *codec)
continue; continue;
/* check only line-in and mic pins */ /* 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; continue;
path = get_input_path(codec, 0, i); path = get_input_path(codec, 0, i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment