Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2918943rwb; Mon, 15 Aug 2022 14:03:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR4RltgTvbQQb1xQ9qMVlSN5HaVywrABTPETcoI1n60fpXfs8sSEpGjkINykQz/DX9BrnNPk X-Received: by 2002:a05:6402:26c2:b0:43d:d885:451a with SMTP id x2-20020a05640226c200b0043dd885451amr16170633edd.287.1660597409831; Mon, 15 Aug 2022 14:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597409; cv=none; d=google.com; s=arc-20160816; b=Gsj6Bcn9XJHipM5pNGvNOaKE4FEjx8sGIhOczEMb48tHpOqbv+KLtcofVcbE55xjtA OGdfVKnxrqp3F/777syQBGEMN/gGapU0NAaH5YvvCTtHaOzuk6QQrOJ//MtWPDRJT+vj NULhv9UH4f5y8sKIX9OgOo2eVkqBVw8nis+fwOUmZgbA9wVULcfz0SFc5xuNrWDYf5Em vtn2sZ934cpF466/PpW3D0IArkR5YXa3Cej4GnoipScOPJcjhD4zAEpKGlyj0xlN77IR vGdJ/NyPsafBYAui1MZZ7O06Meb2cssNyKrw0yBfvA4JMZGnWWxIKmloA45hhBCAmkAm tk0w== 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=Nua6TiFQAbMzBjIX9SRbRgOthdtNjY3zPbaRcWRv1ec=; b=vSxMF/wQ8bpgc/QFVXGhMrOCaVYnNwyEhlOw0v9FKndWv1TbHSwjgn2c89H9VZ1Nph iIJTkRfuLIQS3i4iOPusxpRecwA0e/2m5r4RRPD7kIxzjv3RAsw8J6CX9uqR87x8jWvj lh+9FVAYeBjbfqNhsZxSru4lIpw0ac8f+M4+9hG5yUZnLzvEU7E9Pz2Fxw05WxG+hG1e f6XGn7MsEUwuvPU5jK7gJlJfjaHNHVdlxjMvttifIzEcOznqQalMQa1S2f4EhzYgwlza VHkF2eLVCmGacAlwOE6yuJISkuJHhpN888vZZCJ4xLdzdeWsU+1dp2JQYZEl5yUevET1 lIZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cz4b/OhW"; 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 w27-20020a170906131b00b0073136f95cccsi6786223ejb.582.2022.08.15.14.03.03; Mon, 15 Aug 2022 14:03:29 -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="cz4b/OhW"; 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 S245549AbiHOUUc (ORCPT + 99 others); Mon, 15 Aug 2022 16:20:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344832AbiHOUJo (ORCPT ); Mon, 15 Aug 2022 16:09:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99FA72705; Mon, 15 Aug 2022 11:56:13 -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 20E876125B; Mon, 15 Aug 2022 18:56:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12D3DC433C1; Mon, 15 Aug 2022 18:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589772; bh=vojduCioZU72AP6BPNWFv/LPak1ZFP+99zslQ2g/d1I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cz4b/OhWC1sH5Xsa9C13Si3QrSe47usrNhbWqX6Z53ulJ7/1R00e/VLJssV+NxfKo oYSPR6JkfOxfw00asrI+DYoOqgU1CUvusILFbBYrYK+iRxHr8E9C5dLC9II808VE7w befD0/6wPCNf4lRvuNjlqYgzSPpmCkAXYqjAkXRg= 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.18 0044/1095] ALSA: hda/realtek: Add quirk for another Asus K42JZ model Date: Mon, 15 Aug 2022 19:50:43 +0200 Message-Id: <20220815180431.275083033@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 @@ -6931,6 +6931,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, @@ -7518,6 +7519,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, @@ -9289,6 +9299,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),