From patchwork Fri May 26 09:47:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ai Chao X-Patchwork-Id: 686956 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E38FDC77B7C for ; Mon, 29 May 2023 02:14:51 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A99F8208; Mon, 29 May 2023 04:13:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A99F8208 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1685326488; bh=iFtJvDnDohCiCL/wxMfd6+GUHp+hyYmZ0ThvAFAEFh4=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=OUo4ktdeFyUWbYc6XFvx3Wcy129RqQ7rYKvM7u8hN+AeMQcLPUzrv5Hft+qXKnAjd v2TPr0fvSOXhB/2WTIO5hJ9jMLSIP6wrjmab1gFOlZv8zsZaAcNyFp+dstHG4Ab/39 1HKU9EADXoeijbYVKtv7MWkZy2i9wDn7w3or8E1s= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8A481F80086; Mon, 29 May 2023 04:13:30 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E3D4DF80086; Mon, 29 May 2023 04:13:29 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C7470F8042F; Mon, 29 May 2023 04:13:23 +0200 (CEST) Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6CE27F8016B for ; Mon, 29 May 2023 04:13:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6CE27F8016B X-UUID: a8c21dbc527b4ec29d5502ff0c6f1419-20230529 X-CID-O-RULE: Release_Ham X-CID-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22, REQID:aaac015e-6813-4205-a2be-fc0ae4df922e, IP:5, U RL:0,TC:0,Content:-5,EDM:25,RT:0,SF:-5,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:20 X-CID-INFO: VERSION:1.1.22, REQID:aaac015e-6813-4205-a2be-fc0ae4df922e, IP:5, URL :0,TC:0,Content:-5,EDM:25,RT:0,SF:-5,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:20 X-CID-META: VersionHash:120426c, CLOUDID:1983ce3c-7aa7-41f3-a6bd-0433bee822f3, B ulkID:230529091219DBX1WCOU,BulkQuantity:0,Recheck:0,SF:38|24|17|19|44|102, TC:nil,Content:0,EDM:5,IP:-2,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0, OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-UUID: a8c21dbc527b4ec29d5502ff0c6f1419-20230529 X-User: aichao@kylinos.cn Received: from localhost.localdomain [(112.64.161.44)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 944487003; Mon, 29 May 2023 09:12:18 +0800 From: Ai Chao To: perex@perex.cz, tiwai@suse.com, sbinding@opensource.cirrus.com, tcrawford@system76.com, andy.chi@canonical.com, tangmeng@uniontech.com, luke@ljones.dev, p.jungkamp@gmx.net, kasper93@gmail.com, yangyuchi66@gmail.com, yangyingliang@huawei.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Ai Chao Subject: [PATCH] ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01 Date: Fri, 26 May 2023 17:47:04 +0800 Message-Id: <20230526094704.14597-1-aichao@kylinos.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Message-ID-Hash: 67MWSCCOYQO3LOG5T6QBKIOJ3RLH2ZOC X-Message-ID-Hash: 67MWSCCOYQO3LOG5T6QBKIOJ3RLH2ZOC X-MailFrom: aichao@kylinos.cn X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add a quirk for HP Slim Desktop S01 to fixup headset MIC no presence. Signed-off-by: Ai Chao --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index a7e4765eff80..70b1e4b91521 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -11694,6 +11694,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB), SND_PCI_QUIRK(0x103c, 0x872b, "HP", ALC897_FIXUP_HP_HSMIC_VERB), SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2), + SND_PCI_QUIRK(0x103c, 0x8768, "HP Slim Desktop S01", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x103c, 0x877e, "HP 288 Pro G6", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x103c, 0x885f, "HP 288 Pro G8", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE),