From: Takashi Iwai Subject: Re: Realtek Alc 883 not have eapd Date: Mon, 02 Jun 2014 09:57:36 +0200 Message-ID: References: <1619929.VNVWo8L5J4@marian1000.go.ro> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 0BE4B260786 for ; Mon, 2 Jun 2014 09:57:37 +0200 (CEST) In-Reply-To: <1619929.VNVWo8L5J4@marian1000.go.ro> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: asd Cc: Alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 31 May 2014 23:58:03 +0300, asd wrote: > > 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 > Index: hda/patch_realtek.c > =================================================================== > --- hda.orig/patch_realtek.c 2014-05-13 14:33:14.000000000 +0300 > +++ hda/patch_realtek.c 2014-05-31 23:09:08.668996601 +0300 > @@ -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 > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel