浏览代码

[ALSA] hda-codec - Fix capture on Sigmatel STAC92xx codecs

Modules: HDA Codec driver

Added the missing 'Capture Switch' control for Sigmatel STAC92xx codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 19 年之前
父节点
当前提交
0fd1708a19
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/pci/hda/patch_sigmatel.c

+ 1 - 0
sound/pci/hda/patch_sigmatel.c

@@ -183,6 +183,7 @@ static struct snd_kcontrol_new stac922x_mixer[] = {
 		.put = stac92xx_mux_enum_put,
 		.put = stac92xx_mux_enum_put,
 	},
 	},
 	HDA_CODEC_VOLUME("Capture Volume", 0x17, 0x0, HDA_INPUT),
 	HDA_CODEC_VOLUME("Capture Volume", 0x17, 0x0, HDA_INPUT),
+	HDA_CODEC_MUTE("Capture Switch", 0x17, 0x0, HDA_INPUT),
 	HDA_CODEC_VOLUME("Mux Capture Volume", 0x12, 0x0, HDA_OUTPUT),
 	HDA_CODEC_VOLUME("Mux Capture Volume", 0x12, 0x0, HDA_OUTPUT),
 	{ } /* end */
 	{ } /* end */
 };
 };