Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp512245imw; Wed, 13 Jul 2022 02:54:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v6o0KZsVKiF7tUdypukoHXhIJ94LghN1fZxcwjCGvOnwtMkx1hXnbE1T73xJ5rVrktfsQy X-Received: by 2002:a05:6a00:134b:b0:52a:d832:543a with SMTP id k11-20020a056a00134b00b0052ad832543amr2415341pfu.69.1657706054048; Wed, 13 Jul 2022 02:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657706054; cv=none; d=google.com; s=arc-20160816; b=dYumv9j12v6ROL5HLZDBeChl7jY96q8rqxFEDFCPdAHNk9ZR0JDB0TAtU2s2jkhwRX X5jUoPETCSi7u+LHRfP4jXpzSBp5rOzGXo34ijavrSHKcb2a76gWkpTx1XJQICoqqKYo fGQ/vo2RECBt7LGdhSVCEIoiGjiqmjXcsLYa1nn9Teq4pR8y92xBAOaBJdDYOuzd62jQ 5CrD4F23Lkm/DmZQk1vvLsrsnH4CYgyQL1TlnCzD6DMX1fBsvvgH9AzyoIClMY0xRQKc ZlimZNskaER5MZ//psiQnDFbYF2x6xttfsll8QnQvcxaBWWIjUZQJaSoVNIckOkD4Ocu uPqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=B9AR/U1Ku0C1QTSA1VqKwKyL/p0NCIO4eSTOCPnxohg=; b=eUxSb1li97Gf8hSLJ5zkMfjamvN72Hkw98x4idfL0YorRobSCU6P7Gi6iLraD4UjPk rmEtjWKmJPGl6aARjGa52S0LgDuPkFEl+Fe3KnZKB0ZKQI6yf4X5OO8Ss3efLucC1Glg zmFGrsm0rQzv3Eh6fIU8KwlOsQ8IJ5u81bR7svE3wso/S1D8CvBQNl40BXgBrheg2KTA Y06gp/Vf4XeOq7FoYzl5ZpWwFlWl5uPrIZx2EgLIvYvYflMcHL5K7B5oqz5bP/wuwnir V3I9J3RFpvGxlCxQCr0T6kZtNvfhDxD6sczWXrIxq8gQ3i4rRVHfsdKJPNjXf/R0vRg2 Opxw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s3-20020a170903200300b0016c1fdaa378si13664544pla.362.2022.07.13.02.54.02; Wed, 13 Jul 2022 02:54:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235965AbiGMJl4 (ORCPT + 99 others); Wed, 13 Jul 2022 05:41:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232153AbiGMJly (ORCPT ); Wed, 13 Jul 2022 05:41:54 -0400 Received: from smtpproxy21.qq.com (smtpbg701.qq.com [203.205.195.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2330F5D5A for ; Wed, 13 Jul 2022 02:41:52 -0700 (PDT) X-QQ-mid: bizesmtp76t1657705300tjyq9kr6 Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 13 Jul 2022 17:41:34 +0800 (CST) X-QQ-SSF: 01400000002000G0T000B00A0000000 X-QQ-FEAT: RrZlkntZBflHKmwQ9JnxJ+0cUviccNuWWA2UCoNooBspxFz4wUMc0pcX4AdHT 7YBsLwZGo4x5aWl0oRiIAvFVTQ7WM1G4COQdMIun/coCnkREpN+wMCUStoC1E8D00W6qyUB JF/ztQnqKdA/J+q33vAW5dJMFd0yfkm/srBtoJFsUioC4nCikVPb/oA6V/CFA3AmgDUW64k 7Pg69+3h5LPFPF6OjUqUial/RmELNkiR7lBFeQvk6ZlpH5kpSjYWbyv+xbHUAVsf9xGmyLE zd7EzsXL73HLyP2pxzFB/jkypmGOuG2GLJuARb312khRkLG+Dp4cbwejS2Hul3GFUNEpl3+ ZWWYSY8l8BrZSD80Zd0fyLHKMi/d/J2xCqAamWXQu9oGWBtTrSv82qBP0Aq4kh3gxryHVAo 3WGh0zz0TEx6U6R6i5v2bg== X-QQ-GoodBg: 2 From: Meng Tang To: perex@perex.cz, tiwai@suse.com, tcrawford@system76.com, wse@tuxedocomputers.com, kai.heng.feng@canonical.com, tangmeng@uniontech.com, tanureal@opensource.cirrus.com, cam@neo-zeon.de, kailang@realtek.com, sbinding@opensource.cirrus.com, yong.wu@mediatek.com, andy.chi@canonical.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop Date: Wed, 13 Jul 2022 17:41:33 +0800 Message-Id: <20220713094133.9894-1-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign3 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,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 The headset on this machine is not defined, after applying the quirk ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well Signed-off-by: Meng Tang --- 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 91cd58849ee8..383a814b8539 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9369,6 +9369,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC), SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC), + SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC), SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC), SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED), -- 2.20.1