Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Takashi Iwai and committed by
Jaroslav Kysela
39d3ed38 c1099fcb

+7 -2
+7 -2
sound/pci/hda/patch_realtek.c
··· 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 }; ··· 7916 7915 HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT), 7917 7916 HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT), 7918 7917 HDA_CODEC_MUTE("Mic Playback Switch", 0x0b, 0x0, HDA_INPUT), 7918 + HDA_CODEC_VOLUME("Int Mic Boost", 0x19, 0, HDA_INPUT), 7919 + HDA_CODEC_VOLUME("Int Mic Playback Volume", 0x0b, 0x1, HDA_INPUT), 7920 + HDA_CODEC_MUTE("Int Mic Playback Switch", 0x0b, 0x1, HDA_INPUT), 7919 7921 { } /* end */ 7920 7922 }; 7921 7923 ··· 8415 8411 }, 8416 8412 [ALC262_FUJITSU] = { 8417 8413 .mixers = { alc262_fujitsu_mixer }, 8418 - .init_verbs = { alc262_init_verbs, alc262_fujitsu_unsol_verbs }, 8414 + .init_verbs = { alc262_init_verbs, alc262_EAPD_verbs, 8415 + alc262_fujitsu_unsol_verbs }, 8419 8416 .num_dacs = ARRAY_SIZE(alc262_dac_nids), 8420 8417 .dac_nids = alc262_dac_nids, 8421 8418 .hp_nid = 0x03,