projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4992042
)
ALSA: hda - Add boost to line inputs, too
author
Takashi Iwai
<tiwai@suse.de>
Fri, 18 Jan 2013 13:37:16 +0000
(14:37 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 18 Jan 2013 13:37:16 +0000
(14:37 +0100)
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>
sound/pci/hda/hda_generic.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_generic.c
b/sound/pci/hda/hda_generic.c
index
f0d83b2
..
174806e
100644
(file)
--- 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);