diff options
author | Jiang zhe <zhe.jiang@intel.com> | 2008-01-17 05:19:26 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:04 -0500 |
commit | f4beee9420773faefd3eac23bb5ba65b0395c1a1 (patch) | |
tree | 8213ab9de90d4442dcbfa0ca4558a8bbe097898b /sound/pci | |
parent | 5218c892652c1e8f89964a7fd4cf8b71cc863094 (diff) |
[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: Jiang zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 23a3be5509de..dab2ce137e17 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -453,7 +453,7 @@ static struct hda_input_mux cxt5045_capture_source = { | |||
453 | .num_items = 2, | 453 | .num_items = 2, |
454 | .items = { | 454 | .items = { |
455 | { "IntMic", 0x1 }, | 455 | { "IntMic", 0x1 }, |
456 | { "LineIn", 0x2 }, | 456 | { "ExtMic", 0x2 }, |
457 | } | 457 | } |
458 | }; | 458 | }; |
459 | 459 | ||