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>
This commit is contained in:
parent
6e72aa5f51
commit
e6656369da
|
@ -6494,12 +6494,6 @@ static const struct snd_pci_quirk alc861vd_fixup_tbl[] = {
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct hda_verb alc660vd_eapd_verbs[] = {
|
|
||||||
{0x14, AC_VERB_SET_EAPD_BTLENABLE, 2},
|
|
||||||
{0x15, AC_VERB_SET_EAPD_BTLENABLE, 2},
|
|
||||||
{ }
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
static int patch_alc861vd(struct hda_codec *codec)
|
static int patch_alc861vd(struct hda_codec *codec)
|
||||||
|
@ -6521,11 +6515,6 @@ static int patch_alc861vd(struct hda_codec *codec)
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
if (codec->vendor_id == 0x10ec0660) {
|
|
||||||
/* always turn on EAPD */
|
|
||||||
snd_hda_gen_add_verbs(&spec->gen, alc660vd_eapd_verbs);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!spec->no_analog) {
|
if (!spec->no_analog) {
|
||||||
err = snd_hda_attach_beep_device(codec, 0x23);
|
err = snd_hda_attach_beep_device(codec, 0x23);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
|
Loading…
Reference in a new issue