aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-06-25 05:03:12 -0400
committerTakashi Iwai <tiwai@suse.de>2012-06-25 05:03:12 -0400
commite6656369da73f8a4206a72ea6fb0e35247f42364 (patch)
tree835efa84042e8db170231df8ce6ba864f433f215 /sound/pci/hda
parent6e72aa5f511daa2ffbd333ea99635c551b86013b (diff)
ALSA: hda - Remove suprefluous EAPD init verbs for ALC660vd
The EAPD on nodes 0x14 and 0x15 are initialized in alc_auto_setup_eapd(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3e698e239dd8..4377a9539735 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6494,12 +6494,6 @@ static const struct snd_pci_quirk alc861vd_fixup_tbl[] = {
6494 {} 6494 {}
6495}; 6495};
6496 6496
6497static const struct hda_verb alc660vd_eapd_verbs[] = {
6498 {0x14, AC_VERB_SET_EAPD_BTLENABLE, 2},
6499 {0x15, AC_VERB_SET_EAPD_BTLENABLE, 2},
6500 { }
6501};
6502
6503/* 6497/*
6504 */ 6498 */
6505static int patch_alc861vd(struct hda_codec *codec) 6499static int patch_alc861vd(struct hda_codec *codec)
@@ -6521,11 +6515,6 @@ static int patch_alc861vd(struct hda_codec *codec)
6521 if (err < 0) 6515 if (err < 0)
6522 goto error; 6516 goto error;
6523 6517
6524 if (codec->vendor_id == 0x10ec0660) {
6525 /* always turn on EAPD */
6526 snd_hda_gen_add_verbs(&spec->gen, alc660vd_eapd_verbs);
6527 }
6528
6529 if (!spec->no_analog) { 6518 if (!spec->no_analog) {
6530 err = snd_hda_attach_beep_device(codec, 0x23); 6519 err = snd_hda_attach_beep_device(codec, 0x23);
6531 if (err < 0) 6520 if (err < 0)