Skip to content

Commit

Permalink
[ALSA] hda-codec - Add LG LW20 line-in capture source
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Claudio Matsuoka authored and Jaroslav Kysela committed Jul 20, 2007
1 parent cac19c3 commit e4f41da
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -1921,17 +1921,18 @@ static void alc880_lg_unsol_event(struct hda_codec *codec, unsigned int res)
* Pin assignment:
* Speaker-out: 0x14
* Mic-In: 0x18
* Built-in Mic-In: 0x19 (?)
* HP-Out: 0x1b
* Built-in Mic-In: 0x19
* Line-In: 0x1b
* HP-Out: 0x1a
* SPDIF-Out: 0x1e
*/

/* seems analog CD is not working */
static struct hda_input_mux alc880_lg_lw_capture_source = {
.num_items = 2,
.num_items = 3,
.items = {
{ "Mic", 0x0 },
{ "Internal Mic", 0x1 },
{ "Line In", 0x2 },
},
};

Expand Down

0 comments on commit e4f41da

Please sign in to comment.