Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);