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>
This commit is contained in:
Takashi Iwai 2013-01-18 14:37:16 +01:00
Родитель 49920427ec
Коммит 1799cdd51a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);