aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-01-23 06:37:09 -0500
committerTakashi Iwai <tiwai@suse.de>2009-01-23 06:37:09 -0500
commit60e388e89c9e258a51a0995ddd9e18fdebcdbe12 (patch)
tree93cff131350867a6744ee73a9c04d7ef944cae0a /sound/pci/hda/patch_analog.c
parent19a2d3e9b99ffa264adf1138bd8d8aef8909dca9 (diff)
ALSA: hda - Fix invalid verbs for mic-boosts on AD1884*
The mic-boosts (0x14 and 0x15) on AD1884* codecs are input-amps, not output-amps. Fix the invalid initialization verbs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r--sound/pci/hda/patch_analog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 52bc85dd6f5..a7298d28a0d 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -3183,10 +3183,10 @@ static struct hda_verb ad1884_init_verbs[] = {
3183 {0x0e, AC_VERB_SET_CONNECT_SEL, 0x1}, 3183 {0x0e, AC_VERB_SET_CONNECT_SEL, 0x1},
3184 /* Port-B (front mic) pin */ 3184 /* Port-B (front mic) pin */
3185 {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, 3185 {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
3186 {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 3186 {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
3187 /* Port-C (rear mic) pin */ 3187 /* Port-C (rear mic) pin */
3188 {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, 3188 {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
3189 {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 3189 {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
3190 /* Analog mixer; mute as default */ 3190 /* Analog mixer; mute as default */
3191 {0x20, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(0)}, 3191 {0x20, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(0)},
3192 {0x20, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)}, 3192 {0x20, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)},
@@ -3601,10 +3601,10 @@ static struct hda_verb ad1884a_init_verbs[] = {
3601 {0x13, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 3601 {0x13, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},
3602 /* Port-B (front mic) pin */ 3602 /* Port-B (front mic) pin */
3603 {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, 3603 {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
3604 {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 3604 {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
3605 /* Port-C (rear line-in) pin */ 3605 /* Port-C (rear line-in) pin */
3606 {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN}, 3606 {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
3607 {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 3607 {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
3608 /* Port-E (rear mic) pin */ 3608 /* Port-E (rear mic) pin */
3609 {0x1c, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, 3609 {0x1c, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
3610 {0x1c, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, 3610 {0x1c, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},