]> err.no Git - linux-2.6/commitdiff
[ALSA] hda-codec - Fix AD1984 basic model
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Jun 2007 10:13:34 +0000 (12:13 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:23 +0000 (11:11 +0200)
Fix the amp direction of digital mic capture volume mixer, which
resulted in -EINVAL.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_analog.c

index c1216470595da449dc41e9e2a03ac8969d0f1cf7..dff2e79178850d129f104405fc67fd41f887b776 100644 (file)
@@ -2872,9 +2872,9 @@ static struct snd_kcontrol_new ad1984_dmic_mixers[] = {
        HDA_CODEC_VOLUME("Digital Mic Capture Volume", 0x05, 0x0, HDA_INPUT),
        HDA_CODEC_MUTE("Digital Mic Capture Switch", 0x05, 0x0, HDA_INPUT),
        HDA_CODEC_VOLUME_IDX("Digital Mic Capture Volume", 1, 0x06, 0x0,
-                            HDA_OUTPUT),
+                            HDA_INPUT),
        HDA_CODEC_MUTE_IDX("Digital Mic Capture Switch", 1, 0x06, 0x0,
-                          HDA_OUTPUT),
+                          HDA_INPUT),
        { } /* end */
 };