From: Takashi Iwai Date: Tue, 5 Jun 2007 10:13:34 +0000 (+0200) Subject: [ALSA] hda-codec - Fix AD1984 basic model X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=538c49c41bf5a0a739ad2a5417ec25e060ee9d9e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [ALSA] hda-codec - Fix AD1984 basic model Fix the amp direction of digital mic capture volume mixer, which resulted in -EINVAL. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index c1216470595d..dff2e7917885 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -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 */ };