From patchwork Fri Mar 22 03:37:20 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: 10864873 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 DF551922 for ; Fri, 22 Mar 2019 03:43:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3EE32A5B7 for ; Fri, 22 Mar 2019 03:43:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A57062A5CF; Fri, 22 Mar 2019 03:43:28 +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 03C6C2A5B7 for ; Fri, 22 Mar 2019 03:43:27 +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 1804015EA; Fri, 22 Mar 2019 04:42:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1804015EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553226206; bh=Jipsn7Q2+9QydmSaBuxDGRgpexcbJq+HhPmJGcFqpRY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mMYRGWqejEU3y7gpDUeJVNN0SrNERJTPEsN68pjFWGZp5mD8CH8TxTbZTgDt2jX5P 3hdoval/1A0LyktxDiDnbaRmWMQH/qNdg/jYWPahc0aec1gUqWQrvUQrOfGI3//HoW 5nVVDr6/zo7H8iIsxIObTIDOLHVlPEgmxGiSwQKI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A88E4F89714; Fri, 22 Mar 2019 04:42:13 +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 2F734F89715; Fri, 22 Mar 2019 04:42:12 +0100 (CET) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 67141F8078F for ; Fri, 22 Mar 2019 04:42:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 67141F8078F 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="IkwMEo7j" Received: by mail-pf1-x444.google.com with SMTP id 10so556329pfo.5 for ; Thu, 21 Mar 2019 20:42:08 -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=BRoNWiacASKELC27SN7jRyI+1nU6xbCdCMXI5FoGH1E=; b=IkwMEo7j//e5OsAaFwJaqPQYZAf5HukkCfjrMgTUif5IxqgVm31XgPVzE4cq8N5JxU kuS2vb/RRl6AZ198zN/02jv25pB/KYg7RDTTzWGE8rdWCHP3m/fEWIB7FUHe20GDnq4G 5xxpB7EsZJg7iPPY8uceoTIsXNIzS+uBXw7ZQ2oj68xCuJVO/aW/j9Q/JIDPaDVoSxiZ stihYiTIsMphrMcXBVX78HappG59M702ZHEcN9R21yB/j+MUttVvJaqFKsDIKEYQLW5T By2hiJZbZv/t6QJHZ6+WkKL0QRLZfV8nxLPbY0JO64QxYSq4FQ9fO5g1SDZmnrN9g3Zm /w7A== 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=BRoNWiacASKELC27SN7jRyI+1nU6xbCdCMXI5FoGH1E=; b=GJzufA6zByaMIinK0nvnXm0xL+R0gW+TYawK5WdDpVcEP61XBZW9xXavRTdDS2yhKH WLUjN7L8nk9PglQvYI6eUtFAzszdjHnUwyfd+xaw3b0gXASkr7Bjj3QxyUbxDye16CrQ VeRAsAFwRj3HLTRT0gew4A95urzfUeJNzIaXbPtvFHszu4sk2/ejNfldM7owFBs9xple i0ZuwmauLs8wUtW4kFstG9yU5R7Er9WX1xKXyV/eP+7rl7qF2mNS7R7bkg1SyQCzTqyI EsN0wWF3PMGkk9JipLy1lH1egJLz741dAWM9HaqHkZVMRhsZBleH/nyObnaUVRmy5bxR 9a4Q== X-Gm-Message-State: APjAAAXAWk2HNjuLyorvda+rrrXY8z6eDBprCqOx5rmvoi20SlQEfUmB USoHUD6lPsk2k25VsLhZOic6+g== X-Google-Smtp-Source: APXvYqwEN6ZQdAzQz2YcoQgGEm4wfTRXh+5aduUtXaJX4Ty2PD6tYLMC3DWkEVC3xLZ2wWrDrlVPcQ== X-Received: by 2002:a17:902:b707:: with SMTP id d7mr7176224pls.91.1553226127495; Thu, 21 Mar 2019 20:42:07 -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.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 20:42:06 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Date: Fri, 22 Mar 2019 11:37:20 +0800 Message-Id: <20190322033719.10793-2-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 , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF 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 From: Chris Chiu The ASUS laptop P5440FF with ALC256 can't detect the headset microphone until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. Signed-off-by: Chris Chiu Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- 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 2523e495924e..b8efb20916ba 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7343,6 +7343,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x1b, 0x90a70130}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x12, 0x90a60130}, + {0x14, 0x90170110}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, {0x1a, 0x90a70130}, {0x1b, 0x90170110},