aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorClaudio Matsuoka <cmatsuoka@gmail.com>2007-07-13 05:51:06 -0400
committerJaroslav Kysela <perex@suse.cz>2007-07-20 05:11:52 -0400
commite4f41da9e5f03e67ebe6067aad40c6a79443c3ae (patch)
tree2ca774c28ab35b06fa0c386aebcf69d6d6fe3d3a /sound/pci/hda/patch_realtek.c
parentcac19c3ba123369b7c1199e20bb01fb265004ff5 (diff)
[ALSA] hda-codec - Add LG LW20 line-in capture source
Add line-in to the list of LG LW20 capture sources. Also fix the LG LW pin assignment list comment. Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b145667de17c..e8782c27a459 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1921,17 +1921,18 @@ static void alc880_lg_unsol_event(struct hda_codec *codec, unsigned int res)
1921 * Pin assignment: 1921 * Pin assignment:
1922 * Speaker-out: 0x14 1922 * Speaker-out: 0x14
1923 * Mic-In: 0x18 1923 * Mic-In: 0x18
1924 * Built-in Mic-In: 0x19 (?) 1924 * Built-in Mic-In: 0x19
1925 * HP-Out: 0x1b 1925 * Line-In: 0x1b
1926 * HP-Out: 0x1a
1926 * SPDIF-Out: 0x1e 1927 * SPDIF-Out: 0x1e
1927 */ 1928 */
1928 1929
1929/* seems analog CD is not working */
1930static struct hda_input_mux alc880_lg_lw_capture_source = { 1930static struct hda_input_mux alc880_lg_lw_capture_source = {
1931 .num_items = 2, 1931 .num_items = 3,
1932 .items = { 1932 .items = {
1933 { "Mic", 0x0 }, 1933 { "Mic", 0x0 },
1934 { "Internal Mic", 0x1 }, 1934 { "Internal Mic", 0x1 },
1935 { "Line In", 0x2 },
1935 }, 1936 },
1936}; 1937};
1937 1938