Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp476438rdb; Wed, 17 Jan 2024 07:43:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8BgIhaNiMC501Z77ZlgO+x9w+rUfYhqNn+gOTsWrD1L3qZCk7B/2Gm99Wno/KpKFjAAlf X-Received: by 2002:a05:6a21:32a3:b0:19a:2fcf:c48a with SMTP id yt35-20020a056a2132a300b0019a2fcfc48amr9475661pzb.5.1705506206523; Wed, 17 Jan 2024 07:43:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705506206; cv=pass; d=google.com; s=arc-20160816; b=ElIvq/hRV+DVrZXsvX2PyJduWS8jBDHJnPLPYpPbJrwyyYFF8Rum3wmqenJgLvtXaE LsBw57MyPSXmOshe2fZE7LcBGEhg5dqQPlNUKZeIlN3oxXS4HEvjmmtFnsSsVEvVEOQY 9OoUwmIs+Als+H99TP8/FurdTUEbqHWRN7mLQ4RasdzgOpsd3XfvoLBKpY07ESClvWEZ +6z6Cd4jF/9IEl0P8EUFKYrFZs4lMWxlbFKH9GhqfMrjie3ueJyIPifsv29H8PHwACdA ONfXiP7+ooznFXOBK7/Yd4x69pYKD2JlxIqIy+3ixs0MSS7QfygNNdeNOe4F4Qz+mLLb dizw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=AoyQYoWLWFR0VSl3BzntiZASNvn8wxYLWDvkVYPdumk=; fh=y6ML7m48fRiIiUwxqqDNtMiu2H/ogAocnFcA3S7Ojxs=; b=00cAJnY+aVOKlfmVila/LpX2RFIaPRezvKGIPuJQOq0HgLOmNJ6gLUiQQ9T2SEPJ7K 1fJiHIDt2ExikTarzPhNAbBzTtZ8r4DEa/8auRx61WO8A+eSfJ/JbPMMj54X6RwYrCfG voMs5Jv9GPzMc/JIjk3kbZrXv8WVAtBJrM6i81IWvFjv8Z956aoqiLHkXDDJxNaw+Ty9 x5EjxItP8vSV2jLnHS3nDYVzdTcCglFcrvqcMuI/fFoCIe/ug1yy2XOEY4EUjWbv+jOR TNswI1XDYTayfQayFQS27dS3NSWlPFd/FMIqdF2rUuW2ZXabBgD9yM7CsPTvz3W+5e/s bvcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=SksRX1d6; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-29168-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jj17-20020a170903049100b001d5f3532d6dsi3071118plb.493.2024.01.17.07.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:43:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29168-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=SksRX1d6; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-29168-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1F05FB24B8C for ; Wed, 17 Jan 2024 15:42:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 242C02231F; Wed, 17 Jan 2024 15:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="SksRX1d6" Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB3142232A for ; Wed, 17 Jan 2024 15:42:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.120 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705506155; cv=none; b=SUiIrMnunPdHIncEpebW9XXpfqS5U8e9hjLatrQJHNr+vbdoj1xoKIwjz+ziUROHMDfOLSjk1RXCZS++6cFlZ+Hfm4ffU/dVk5q33HXGZx3z8Fo4IshQACoKLBAWBsFGkGcXWrSgyX7CSuwz2OktCuL7/2WXojFwLCz8Dj6133c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705506155; c=relaxed/simple; bh=PIaNYP7tKeLz3DbZoaeyg/wZV1PgwT/q0h8pnJkFj8A=; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-Id: X-Mailer:MIME-Version:Content-Transfer-Encoding; b=su8bDWn+t57/2quKK5O8D7m/7nfhYMXF2wENqIeLa7UFmK6JUNJ07n2rBePh44OLYlGMD5Z97FZUkQu1OF0dUEE/MOuJyfOU1ZyeO8GqsKCOkvvIWS0vt9YW5o7dYg3fK5+MCqEwkyDKjoMXZawOonUrbvMRzFoRJV9tryFV6GA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=SksRX1d6; arc=none smtp.client-ip=185.125.188.120 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from localhost.localdomain (2.general.binli.uk.vpn [10.172.193.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id E5AEB3F6E1; Wed, 17 Jan 2024 15:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1705506144; bh=AoyQYoWLWFR0VSl3BzntiZASNvn8wxYLWDvkVYPdumk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SksRX1d69ZG1ixWKGjJKDZYVQsvJqjcTlUJf3ldGK0f/uTHYrjw7ClcTe2BOy/Mzh 5TCQmwIo83Tl/bYTFqnfNL/wRzRDUOepYLeAV5yZRPzvdSs3FxCi8Sxa1z8x4EjzQg sdEQqzh2swiWeQY59FW7osBZwctZF6C1PBFy9rOTaviunRAxmiVFHny1ZiyHP5a8u4 6hwGOfzjLrkcJzmR27er98UOdUIof/VzochhSXS/fVU7XoNbXfVYK1R3MA5gY3TC+s ec6/h+9XVrvt6vqX8oefoEDtVHtW+uuhWP9q4eez6na80B1HYjT2zNZ4/Hk6zx1ngT 6SWcRxPwyB2KQ== From: Bin Li To: tiwai@suse.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, aaron.ma@canonical.com, libin.charles@gmail.com Subject: [PATCH] ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5 Date: Wed, 17 Jan 2024 23:41:23 +0800 Message-Id: <20240117154123.21578-1-bin.li@canonical.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Lenovo M70 Gen5 is equipped with ALC623, and it needs ALC283_FIXUP_HEADSET_MIC quirk to make its headset mic work. Signed-off-by: Bin Li --- 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 b68c94757051..7057e888d373 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10231,6 +10231,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x3176, "ThinkCentre Station", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x17aa, 0x3178, "ThinkCentre Station", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x17aa, 0x31af, "ThinkCentre Station", ALC623_FIXUP_LENOVO_THINKSTATION_P340), + SND_PCI_QUIRK(0x17aa, 0x334b, "Lenovo ThinkCentre M70 Gen5", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x17aa, 0x3801, "Lenovo Yoga9 14IAP7", ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN), SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS), -- 2.34.1