Skip to content

Commit

Permalink
ALSA: hda - Add boost to line inputs, too
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Jan 18, 2013
1 parent 4992042 commit 1799cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1799cdd

Please sign in to comment.