Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4431558imw; Tue, 19 Jul 2022 06:33:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sim4oqLf1rbPJcydXIhCjPzpzoSjbO5OUjpQxe5QfYWBM3EDhy+4VPLjTq0r9I4hwSuW2j X-Received: by 2002:a17:902:c792:b0:16b:e8d4:e13c with SMTP id w18-20020a170902c79200b0016be8d4e13cmr32458394pla.150.1658237613588; Tue, 19 Jul 2022 06:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658237613; cv=none; d=google.com; s=arc-20160816; b=zT6UbkrMzFOqVfuWgx/Fip8pL8i/qjvaAq5YQlYaKNVs2fc6Wj6F1uasgNVsU504xr HqaBrjFQu7uJVHJsABQYuMC3zhcAuxakG81b4+p6t/5b8O3DmRJARLgaej1sm68FOci0 chDNYnlE8u6UNj4Q1yNnhv0ujOWSZBVl8TFYA8aBjLXttDd3shy6yibXFMfOMb7dpOKN RMGa/MalfDqd+J9owfWeqv2I2fFn933+mR6xNkxFAIgHkFkZbYhdxeaBFXt8C2Wu9Kam VeFIgvoX9tsnL0OIUqc3S0EJqgpdAIYnhT5nzB+KLabe9bCoHZXm1ZR0xwSyD43Y0gDN CLSg== 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=OlAY9ZOkexgCTAZFaMA1zzIS2LjrgpLCaYhmFOaT158=; b=z97kJkPdut68Rvi6GYVbxGTc+9r4kMtsq679CoaHdqCfIVttmzrc6vjCZDiB9cxjXC 75gnRVmHEaYlzhpJH4JpvvQOWQn1/4hJJGr5d9JL92SIH6t4ZOWNSzQcw74t2ADyTpjz mF8kWXpcl1/NrwQ3KAc2Qm0DU03nhoSY22Ve5GvitgSVyZ/FtcQInDcJfny8vBG+yxZF Q7Tk6/KWb8vczgHvU0wKm7+cai5pp3z8cEXd1u9CmQWfoK6Vurz3rff32I+MeTnaLN6D 3OTQ0fGE3I4W9sNYDp7p+YVn+Wt0XhiPluHUdu747ISTr/4rZ1sbtAadS49slQY9h0bl e1NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PpfkBeus; 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 u4-20020a170902bf4400b0015d0c53ae0esi17784548pls.491.2022.07.19.06.33.18; Tue, 19 Jul 2022 06:33:33 -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=PpfkBeus; 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 S238232AbiGSMLH (ORCPT + 99 others); Tue, 19 Jul 2022 08:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238648AbiGSMJ2 (ORCPT ); Tue, 19 Jul 2022 08:09:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 758A550713; Tue, 19 Jul 2022 05:02:24 -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 ams.source.kernel.org (Postfix) with ESMTPS id D47E0B81B2D; Tue, 19 Jul 2022 12:02:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CAF0C341C6; Tue, 19 Jul 2022 12:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658232141; bh=eeh+2nf4lsuKbnUTy/VRaqLc3ZWatD414jgxT+uVw9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PpfkBeusdfL+jzEgbcyeEhrsSYjegNH7qiSndCzKkspJerF9CtudzsoCxdt/yQ+Qo 4OE46ZEGgqHZ5AdpANr8JkbKFmOD5AUSKtBmipOXv4y9MijTuZN5jS5Cb+MwrzW4bl CcmV3RNBXGxSKgml867GnCcTDueO/RsOPW5V2yfc= 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.4 05/71] ALSA: hda/realtek - Enable the headset-mic on a Xiaomis laptop Date: Tue, 19 Jul 2022 13:53:28 +0200 Message-Id: <20220719114552.885430931@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220719114552.477018590@linuxfoundation.org> References: <20220719114552.477018590@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 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 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 9b043a8f386485c74c0f8eea2c287d5bdbdf3279 upstream. 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 Cc: Link: https://lore.kernel.org/r/20220713094133.9894-1-tangmeng@uniontech.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8423,6 +8423,7 @@ static const struct snd_pci_quirk alc269 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),