Commit 39d3ed381877246719184897c853c0c58028fe54

Authored by Takashi Iwai
Committed by Jaroslav Kysela
1 parent c1099fcb74

[ALSA] hda-codec - Fix for Fujitsu Lifebook C1410

Fixed ALC262 fujitsu model to support Fujitsu Lifebook C1410 properly.
It requires EAPD and has separate int/ext mic inputs (which was missing
in the current driver).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

Showing 1 changed file with 7 additions and 2 deletions Side-by-side Diff

sound/pci/hda/patch_realtek.c
... ... @@ -7807,9 +7807,10 @@
7807 7807 };
7808 7808  
7809 7809 static struct hda_input_mux alc262_fujitsu_capture_source = {
7810   - .num_items = 2,
  7810 + .num_items = 3,
7811 7811 .items = {
7812 7812 { "Mic", 0x0 },
  7813 + { "Int Mic", 0x1 },
7813 7814 { "CD", 0x4 },
7814 7815 },
7815 7816 };
... ... @@ -7915,6 +7916,9 @@
7915 7916 HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT),
7916 7917 HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT),
7917 7918 HDA_CODEC_MUTE("Mic Playback Switch", 0x0b, 0x0, HDA_INPUT),
  7919 + HDA_CODEC_VOLUME("Int Mic Boost", 0x19, 0, HDA_INPUT),
  7920 + HDA_CODEC_VOLUME("Int Mic Playback Volume", 0x0b, 0x1, HDA_INPUT),
  7921 + HDA_CODEC_MUTE("Int Mic Playback Switch", 0x0b, 0x1, HDA_INPUT),
7918 7922 { } /* end */
7919 7923 };
7920 7924  
... ... @@ -8411,7 +8415,8 @@
8411 8415 },
8412 8416 [ALC262_FUJITSU] = {
8413 8417 .mixers = { alc262_fujitsu_mixer },
8414   - .init_verbs = { alc262_init_verbs, alc262_fujitsu_unsol_verbs },
  8418 + .init_verbs = { alc262_init_verbs, alc262_EAPD_verbs,
  8419 + alc262_fujitsu_unsol_verbs },
8415 8420 .num_dacs = ARRAY_SIZE(alc262_dac_nids),
8416 8421 .dac_nids = alc262_dac_nids,
8417 8422 .hp_nid = 0x03,