From patchwork Fri Mar 22 03:37:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10864875 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF8D6922 for ; Fri, 22 Mar 2019 03:44:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDF4428C76 for ; Fri, 22 Mar 2019 03:44:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC42228C9B; Fri, 22 Mar 2019 03:44:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D9A9728C76 for ; Fri, 22 Mar 2019 03:44:13 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2A21215EE; Fri, 22 Mar 2019 04:43:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A21215EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553226252; bh=10YV67sYTLrDqS+T/vHBAPWEfdPr3QVroofdSEGuH58=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bq6zRj0RvmnFazp9NgHHzCxmNNmQWCn13hnO/JxvucOmcCRaPtMa5kW315tlpvW1W 7ZLqVGFCb+Z002I9peafANK3guV4MdBTLUP0N7YxeL+OOcMTVZc6eft+PYK9uRKn3T 7WaC2er2qzb7pJ4nJQH4ql20w2Gl2Xi/CHAJeAc0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C78B8F89684; Fri, 22 Mar 2019 04:42:56 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id C5D91F896AA; Fri, 22 Mar 2019 04:42:54 +0100 (CET) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 263B1F89674 for ; Fri, 22 Mar 2019 04:42:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 263B1F89674 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="aVWyXbT0" Received: by mail-pg1-x541.google.com with SMTP id l11so506127pgq.10 for ; Thu, 21 Mar 2019 20:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1M2sFDfk6+MiOYr7J7OGqVMfGnaLzwrDZ9t2ITrAcQY=; b=aVWyXbT0a/4rS11uCRM5RNZFwj9ZbZcHhV14FHeDzJjBTlOkzulnRgXRXeCZgxtytM SHspYAGlc6WlFtxb8yQ00gLmUVqTTgowTSXI6ntOQjNA4KRx7x+0i3TWsn9P6E4ZSjO0 ix45JAOweaEksoxVesHP7s54gAxkHW2relgm/SUtiWwHc4f4q5wlOGK6vd9gsZAK5DpB /8Ww+Dc7W6AZb/MwmqPlBirP1WVxxqqsqUYlFYT6Lwo9khhYvZuTEQX2Bl2jXR0ygqyH gWwO3LG6eAamP4HPNAe3LSgq7xYsfokUxuXODUmy+TuRVMNA6lOn+JXM5aZKZVdNmO9y t6Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1M2sFDfk6+MiOYr7J7OGqVMfGnaLzwrDZ9t2ITrAcQY=; b=XhHE5AVWyL/TPt6aoOrHADDyOekVQcL5ns9xKNqki9BN/47sGoa3j9R6x3HyTOaoe1 G+ZZd4E+VDhnQZk3g2O4m0syVtLujLnCAJTI9kOW9sKMQQagda2jdUjgzfgYZiw+epag esTd7CCR3X0J0M83fBk++fuMLqUkiMROs1DgSTpwl2XHLZx6xzCef5caCIeOTSNxDKIC EikdxOvbwMLrRGnPrCcbYZ8U8jk0XdCVsToywFz8gdYmCdw1cBjw2rw0a33fM0uLTMIN LlqxOAZ6jjlo1o7D99Z3YHZtVuX5nuHQfEuI8VYkzDLgQT+v73gVSive55GKSXMczIql hzJQ== X-Gm-Message-State: APjAAAU5YXLVr7PPzVUOof9/9Dw6nO5Tkkdoi0VBk8kfKI5mNPNleW6a 4Ozm3LQ2lKDI190v4yUHviuwmw== X-Google-Smtp-Source: APXvYqxV2ldvM/A8o6d/IF13JK6AzL8vqOzwryJLd/BMdL0tyc8Xk8kTsGSNhbRCuMb/IS9c3OkTyA== X-Received: by 2002:a65:4381:: with SMTP id m1mr6316927pgp.97.1553226170170; Thu, 21 Mar 2019 20:42:50 -0700 (PDT) Received: from localhost.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.gmail.com with ESMTPSA id g2sm14028826pfm.144.2019.03.21.20.42.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 20:42:49 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Date: Fri, 22 Mar 2019 11:37:22 +0800 Message-Id: <20190322033719.10793-3-jian-hong@endlessm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190322033719.10793-1-jian-hong@endlessm.com> References: <20190322033719.10793-1-jian-hong@endlessm.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Kailang Yang , linux-kernel@vger.kernel.org, Daniel Drake , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" X-Virus-Scanned: ClamAV using ClamSMTP The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake --- sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index b8efb20916ba..af0b1bd650f8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7347,6 +7347,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x12, 0x90a60130}, {0x14, 0x90170110}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x12, 0x90a60130}, + {0x14, 0x90170110}, + {0x21, 0x04211020}), SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, {0x1a, 0x90a70130}, {0x1b, 0x90170110},