Realtek Alc 883 not have eapd
Below is patch wich disable eapd.
patch_realtek.c +7 -1
@@ -293,8 +293,14 @@static void alc_auto_init_amp (struct hda_codec *codec,int type) {unsigned int tmp; + +if (codec->vendor_id ==0x10ec0883 ) { -alc_auto_setup_eapd (codec, true); +alc_auto_setup_eapd (codec, false); + }else { +alc_auto_setup_eapd (codec, true); + } +switch (type) {case ALC_INIT_GPIO1 :snd_hda_sequence_write (codec, alc_gpio1_init_verbs);
At Sat, 31 May 2014 23:58:03 +0300,
Quoted 2 lines · asd
Below is patch wich disable eapd.
Does your patch fix any real problem?
The function alc_auto_setup_eapd() checks the widget capability and turns on/off only when EAPD capability is found. If the widget has no EAPD caps, calling the function should be just harmless.
thanks,
Takashi
Quoted 24 lines
Index:
hda/patch_realtek.c
===================================================================patch_realtek.c +7
-1@@ -293,8 +293,14 @@static void alc_auto_init_amp (struct hda_codec *codec,int type) {unsigned int tmp; + +if (codec->vendor_id ==0x10ec0883 ) { -alc_auto_setup_eapd (codec, true); +alc_auto_setup_eapd (codec, false); + }else { +alc_auto_setup_eapd (codec, true); + } +switch (type) {case ALC_INIT_GPIO1 :snd_hda_sequence_write (codec, alc_gpio1_init_verbs);_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel