From patchwork Sat May 31 20:58:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: asd X-Patchwork-Id: 4276621 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 71246BEEA7 for ; Sat, 31 May 2014 20:58:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C27B20303 for ; Sat, 31 May 2014 20:58:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 8B9B4202E6 for ; Sat, 31 May 2014 20:58:27 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4157326517F; Sat, 31 May 2014 22:58:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 21A37265148; Sat, 31 May 2014 22:58:14 +0200 (CEST) X-Original-To: Alsa-devel@alsa-project.org Delivered-To: Alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B4DEB265158; Sat, 31 May 2014 22:58:12 +0200 (CEST) Received: from marian1000.go.ro (5-14-230-222.residential.rdsnet.ro [5.14.230.222]) by alsa0.perex.cz (Postfix) with ESMTP id 9780126513B for ; Sat, 31 May 2014 22:58:04 +0200 (CEST) Received: from localhost ([127.0.0.1] helo=marian1000.go.ro) by marian1000.go.ro with esmtp (Exim 4.82) (envelope-from ) id 1WqqLr-0000tt-K7 for Alsa-devel@alsa-project.org; Sat, 31 May 2014 23:58:03 +0300 From: asd To: Alsa-devel@alsa-project.org Date: Sat, 31 May 2014 23:58:03 +0300 Message-ID: <1619929.VNVWo8L5J4@marian1000.go.ro> User-Agent: KMail/4.12.4 (Linux/3.14-1-amd64; KDE/4.13.1; x86_64; ; ) MIME-Version: 1.0 Subject: [alsa-devel] Realtek Alc 883 not have eapd X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" 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 X-Virus-Scanned: ClamAV using ClamSMTP Below is patch wich disable eapd. 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);