提交 f4beee94 编写于 作者: J Jiang zhe 提交者: Jaroslav Kysela

[ALSA] hda-codec - Fix capture source for Cx5045 codec

For codec conexant 5045, I found that the name of 'Capture Source Items'
is different from the name of mixer.
The mixer is:
HDA_CODEC_VOLUME('Ext Mic Playback Volume', 0x17, 0x2, HDA_INPUT),
HDA_CODEC_MUTE('Ext Mic Playback Switch', 0x17, 0x2, HDA_INPUT),
But the capture source item is :
static struct hda_input_mux cxt5045_capture_source = {
	.num_items = 2,
	.items = {
		{ 'IntMic', 0x1 },
		{ 'LineIn', 0x2 },
	}
};
I think that it's better to change the name of capture_source to avoid
misunderstanding.
Signed-off-by: NJiang zhe <zhe.jiang@intel.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 5218c892
...@@ -453,7 +453,7 @@ static struct hda_input_mux cxt5045_capture_source = { ...@@ -453,7 +453,7 @@ static struct hda_input_mux cxt5045_capture_source = {
.num_items = 2, .num_items = 2,
.items = { .items = {
{ "IntMic", 0x1 }, { "IntMic", 0x1 },
{ "LineIn", 0x2 }, { "ExtMic", 0x2 },
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册