diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-10-12 09:03:48 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 10:51:15 -0400 |
commit | 39d3ed381877246719184897c853c0c58028fe54 (patch) | |
tree | 7fc87ebbe2d728b4ac46c84e9c94767bb662f28f /sound | |
parent | c1099fcb74ddc005c85beaef33bbe68c9bf3b5bb (diff) |
[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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ec14dd513fee..1d2cd4c4b160 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -7807,9 +7807,10 @@ static struct hda_verb alc262_fujitsu_unsol_verbs[] = { | |||
7807 | }; | 7807 | }; |
7808 | 7808 | ||
7809 | static struct hda_input_mux alc262_fujitsu_capture_source = { | 7809 | static struct hda_input_mux alc262_fujitsu_capture_source = { |
7810 | .num_items = 2, | 7810 | .num_items = 3, |
7811 | .items = { | 7811 | .items = { |
7812 | { "Mic", 0x0 }, | 7812 | { "Mic", 0x0 }, |
7813 | { "Int Mic", 0x1 }, | ||
7813 | { "CD", 0x4 }, | 7814 | { "CD", 0x4 }, |
7814 | }, | 7815 | }, |
7815 | }; | 7816 | }; |
@@ -7915,6 +7916,9 @@ static struct snd_kcontrol_new alc262_fujitsu_mixer[] = { | |||
7915 | HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT), | 7916 | HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT), |
7916 | HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT), | 7917 | HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT), |
7917 | HDA_CODEC_MUTE("Mic Playback Switch", 0x0b, 0x0, HDA_INPUT), | 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 | { } /* end */ | 7922 | { } /* end */ |
7919 | }; | 7923 | }; |
7920 | 7924 | ||
@@ -8411,7 +8415,8 @@ static struct alc_config_preset alc262_presets[] = { | |||
8411 | }, | 8415 | }, |
8412 | [ALC262_FUJITSU] = { | 8416 | [ALC262_FUJITSU] = { |
8413 | .mixers = { alc262_fujitsu_mixer }, | 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 | .num_dacs = ARRAY_SIZE(alc262_dac_nids), | 8420 | .num_dacs = ARRAY_SIZE(alc262_dac_nids), |
8416 | .dac_nids = alc262_dac_nids, | 8421 | .dac_nids = alc262_dac_nids, |
8417 | .hp_nid = 0x03, | 8422 | .hp_nid = 0x03, |