From patchwork Fri Dec 7 09:17:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10717725 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 22E1E13BF for ; Fri, 7 Dec 2018 09:18:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 109F8296BE for ; Fri, 7 Dec 2018 09:18:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 047AF2DEAD; Fri, 7 Dec 2018 09:18:58 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A0FA296BE for ; Fri, 7 Dec 2018 09:18:57 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 73D81267D02; Fri, 7 Dec 2018 10:18:54 +0100 (CET) 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 69D86267D02; Fri, 7 Dec 2018 10:18:52 +0100 (CET) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by alsa0.perex.cz (Postfix) with ESMTP id 4C896267CFA for ; Fri, 7 Dec 2018 10:18:49 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id t13so1550525ply.13 for ; Fri, 07 Dec 2018 01:18:49 -0800 (PST) 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; bh=emaha2gf5Gj7+YTlhynaOWZVh5v9mgbK4I4DH8K0DeU=; b=Nud5MsL5qmctGtSXJ0F7TmL05KMHEQcF2+JDjsXYnpyisq6mLs3S6Rf3JWnliq4lim cClmSqvLhNfo36QvBamogi5zC3L5SGgVfj7i+0+F5XhxNfvN/A2Z5QhbH8c2j4jT9EZV K4ZxP+ahY1aXBW5Ryeni8UcNTBmmK9CF4spYPsFXZm2Hf+A3Q9BX3CtLcv4Q/vLkhGrQ PFR/Z2TlwnptV7Dw04sfArRTs8WX2RSTnJmhyK2RFNFFQAq5YUil/E0P1PJLq1c2WGRW AWheRnnvq7Yk4vBMOeK7J28cOePS7O9+9sIPX09f/kjwp7h2kN6XjfAjpQCS2Lbfp9gA I7ng== 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; bh=emaha2gf5Gj7+YTlhynaOWZVh5v9mgbK4I4DH8K0DeU=; b=PV69YtV68n84EblEGgYH3ZUTnOUMaXpq74DoE5eFKzcf/RSsXWRDkeQPqMTq6taznI rDWOmOaX32W35avgsj2wMybRbn1i0lTIIqfR5YxBwhBc1egPaY5FKjgsnmsXadshxgsp q1Yk1pEhRZAxUIVKLQMgwIpr8gpOV4Kl6xrbq154GF1ZJiwC0Pz2PNtzqLesiJ2Uk0Rm yRY8jfNVOoy/fzky7HrWwDxDpVeIWULVnDftI2f8IZWo9s3PDHYZoKG3uux/WcvwXREy ND0jVVL+UCYpwnZiP2vREjTxqKFOKUz8Q9HDFspVQjqcQSk+Vz/KJrcplWTSGmIFpVCJ Mqfw== X-Gm-Message-State: AA+aEWZzM0CFT+YOFAaKq2SB4XftQS3YdbSOHZOUCzicyjVz2Vla7E4O 5yRFBU0o06jmk8pXZ2fw95NZzQ== X-Google-Smtp-Source: AFSGD/WRnooJsghzmTaa6c10q0Zv8SR0TctG0EfX9lqmSK2N6attcaWStztbo58SQ6Z3dVtvp0F0QQ== X-Received: by 2002:a17:902:7b88:: with SMTP id w8mr1391860pll.320.1544174328072; Fri, 07 Dec 2018 01:18:48 -0800 (PST) Received: from localhost.localdomain (125-227-158-176.HINET-IP.hinet.net. [125.227.158.176]) by smtp.gmail.com with ESMTPSA id y1sm3480927pfe.9.2018.12.07.01.18.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 01:18:47 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai , Kailang Yang Date: Fri, 7 Dec 2018 17:17:13 +0800 Message-Id: <20181207091713.7483-4-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181207091713.7483-1-jian-hong@endlessm.com> References: <20181207091713.7483-1-jian-hong@endlessm.com> Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, josh@wtmec.com, Hui Wang , Jian-Hong Pan , Daniel Drake , linux@endlessm.com Subject: [alsa-devel] [PATCH v3 3/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The ASUS UX433FN and UX333FA with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK and ALC294_FIXUP_ASUS_HEADSET_MIC quirk applied. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- v2: - Add UX333FA support. ASUS UX533FD, UX433FN and UX333FA use the same quirk now. v3: - Modify the quirk's entry name 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 aa7aabd6e09a..14c883a16290 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7190,6 +7190,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x1b, 0x90a70130}, {0x21, 0x04211020}), + SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK, + {0x12, 0x90a60130}, + {0x17, 0x90170110}, + {0x21, 0x04211020}), SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, ALC295_STANDARD_PINS, {0x17, 0x21014020},