Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1866522rwb; Fri, 19 Aug 2022 10:41:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR60QCM3jR6XFodDVXS83gsHnyRbmY8hnZp68FTnzzmSXLeuJ4M9r9ZqvD5p/GDSX3kxhEDp X-Received: by 2002:a17:903:2305:b0:16f:2420:dddf with SMTP id d5-20020a170903230500b0016f2420dddfmr8244236plh.138.1660930774035; Fri, 19 Aug 2022 10:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930774; cv=none; d=google.com; s=arc-20160816; b=Cko3XqvKZTnYaLMgYf0AWZNoh6UVJFrbmSSiQmE2/tjcjueLnjJnyrJH+Lypmiv2jF +vSMP/iATJmZMewe6bcZWHLGwomE+XjAfx1UOS/tCoDVC+8KI9npZl+uo7QB5DB9yk33 0IcRW7KtkUdCH1wSSAHKMIuq9/cTswR4FTzr6ruLTx7/J+ppqxVq2l5f5k8K0PpV8RsH OZwt8m1aO9QKsufT43CJB90ivwx59Ub3wPwu96G6BIgUwjguJw49dDjdTH7/QH6MsP5w e8ULnIue1S5xcCraP3KpT8o7Z1YV1i2nvwoDG1z9C0iwxZ2+10aDXbB/xpaQ+UO0aKqK OpFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F0lbGac4sLZYgDmHz+L+hz2SGfuof7JORJKxZv/jg10=; b=kA3maoY8pB6KxnQtnwqHk0UiLnLwGWsU382Xmfk7UCELco4dfT1rVYJ9+rvJfZjBcY RTRChajFwowVrTi20kjuvQER3ygbZgEE8LwFVNabMSawR10/40Y05TA8qDLCjEs7J8td /NtVKWHhfKfXrN4zVKJ0LIA6PI4dIKTfN8/ZWNs+whI7/AUg7ckLUeMypW9vvcxTPn5L FmyblhoRb5NU8vctfAvv+GC5nJ7IHNQpYvUxoFzbLk82uKBBn1uFPlX4ZDi3d5+DJB8v zMeAMSGpswPQrsPWIawjkHbehzGi845Ya6OGOu0fMri4X30+K7HGc0NYhBUtvfFRWQu2 qXIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EfW401Ld; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om9-20020a17090b3a8900b001f28dc085bfsi875934pjb.115.2022.08.19.10.39.22; Fri, 19 Aug 2022 10:39:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EfW401Ld; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350116AbiHSPsg (ORCPT + 99 others); Fri, 19 Aug 2022 11:48:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350007AbiHSPrY (ORCPT ); Fri, 19 Aug 2022 11:47:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE03032ECB; Fri, 19 Aug 2022 08:47:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9FB7E6155B; Fri, 19 Aug 2022 15:47:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C98CC433C1; Fri, 19 Aug 2022 15:47:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660924021; bh=bVdV2IaOJZiYym9Utx4P+nilV1ARj7FTyml6N7fr7h8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EfW401Ldwl8LpuD4+DKRfN+8oNHdL5bqjk7D05v6CwXNUe3+QHRZRSIkHu+DWuMqp MB4jW1buqCUH0YguYUpGILFAwVhygeet+F2CJoT1ntYgQQPmQiqen3Ux3JAcZjZflO CXXVitZi63jUaBWaIIhWv+NPr0BD+/+ZrvQ6ZJaM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Meng Tang , Takashi Iwai Subject: [PATCH 5.10 029/545] ALSA: hda/realtek: Add quirk for another Asus K42JZ model Date: Fri, 19 Aug 2022 17:36:39 +0200 Message-Id: <20220819153830.498879773@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Meng Tang commit f882c4bef9cb914d9f7be171afb10ed26536bfa7 upstream. There is another Asus K42JZ model with the PCI SSID 1043:1313 that requires the quirk ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE. Add the corresponding entry to the quirk table. Signed-off-by: Meng Tang Cc: Link: https://lore.kernel.org/r/20220805074534.20003-1-tangmeng@uniontech.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6666,6 +6666,7 @@ enum { ALC269_FIXUP_LIMIT_INT_MIC_BOOST, ALC269VB_FIXUP_ASUS_ZENBOOK, ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A, + ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE, ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED, ALC269VB_FIXUP_ORDISSIMO_EVE2, ALC283_FIXUP_CHROME_BOOK, @@ -7241,6 +7242,15 @@ static const struct hda_fixup alc269_fix .chained = true, .chain_id = ALC269VB_FIXUP_ASUS_ZENBOOK, }, + [ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x18, 0x01a110f0 }, /* use as headset mic */ + { } + }, + .chained = true, + .chain_id = ALC269_FIXUP_HEADSET_MIC + }, [ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED] = { .type = HDA_FIXUP_FUNC, .v.func = alc269_fixup_limit_int_mic_boost, @@ -8848,6 +8858,7 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x1043, 0x12a0, "ASUS X441UV", ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x12f0, "ASUS X541UV", ALC256_FIXUP_ASUS_MIC), + SND_PCI_QUIRK(0x1043, 0x1313, "Asus K42JZ", ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK), SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),