From: Jiang zhe Date: Thu, 17 Jan 2008 10:19:26 +0000 (+0100) Subject: [ALSA] hda-codec - Fix capture source for Cx5045 codec X-Git-Tag: v2.6.25-rc1~1127^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4beee9420773faefd3eac23bb5ba65b0395c1a1;p=pandora-kernel.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed