diff options
author | Hector Martin <hector@marcansoft.com> | 2009-12-20 16:51:18 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-21 05:17:23 -0500 |
commit | 0f86a228f4a4639b3142ce0dad208433b2db377a (patch) | |
tree | c026bec2672cd2f7e833c58427eac563cf2e8516 /sound/pci | |
parent | e2595322a3a353a59cecd7f57e7aa421ecb02d12 (diff) |
ALSA: HDA: simplify Aspire 8930G verb array
This patch just simplifies the 8930G verb array a bit. Just use the
common ALC889 EAPD verb array to make things more consistent. The file
is already huge enough already.
Signed-off-by: Hector Martin <hector@marcansoft.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 1554c3a6fd2e..cb97323acc17 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -1665,9 +1665,6 @@ static struct hda_verb alc889_acer_aspire_8930g_verbs[] = { | |||
1665 | /* some bit here disables the other DACs. Init=0x4900 */ | 1665 | /* some bit here disables the other DACs. Init=0x4900 */ |
1666 | {0x20, AC_VERB_SET_COEF_INDEX, 0x08}, | 1666 | {0x20, AC_VERB_SET_COEF_INDEX, 0x08}, |
1667 | {0x20, AC_VERB_SET_PROC_COEF, 0x0000}, | 1667 | {0x20, AC_VERB_SET_PROC_COEF, 0x0000}, |
1668 | /* Enable amplifiers */ | ||
1669 | {0x14, AC_VERB_SET_EAPD_BTLENABLE, 0x02}, | ||
1670 | {0x15, AC_VERB_SET_EAPD_BTLENABLE, 0x02}, | ||
1671 | /* DMIC fix | 1668 | /* DMIC fix |
1672 | * This laptop has a stereo digital microphone. The mics are only 1cm apart | 1669 | * This laptop has a stereo digital microphone. The mics are only 1cm apart |
1673 | * which makes the stereo useless. However, either the mic or the ALC889 | 1670 | * which makes the stereo useless. However, either the mic or the ALC889 |
@@ -9386,7 +9383,8 @@ static struct alc_config_preset alc882_presets[] = { | |||
9386 | .mixers = { alc888_base_mixer, | 9383 | .mixers = { alc888_base_mixer, |
9387 | alc883_chmode_mixer }, | 9384 | alc883_chmode_mixer }, |
9388 | .init_verbs = { alc883_init_verbs, alc880_gpio1_init_verbs, | 9385 | .init_verbs = { alc883_init_verbs, alc880_gpio1_init_verbs, |
9389 | alc889_acer_aspire_8930g_verbs }, | 9386 | alc889_acer_aspire_8930g_verbs, |
9387 | alc889_eapd_verbs}, | ||
9390 | .num_dacs = ARRAY_SIZE(alc883_dac_nids), | 9388 | .num_dacs = ARRAY_SIZE(alc883_dac_nids), |
9391 | .dac_nids = alc883_dac_nids, | 9389 | .dac_nids = alc883_dac_nids, |
9392 | .num_adc_nids = ARRAY_SIZE(alc889_adc_nids), | 9390 | .num_adc_nids = ARRAY_SIZE(alc889_adc_nids), |