Message ID | 20240210192934.143491-1-attitokes@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-60527-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1623178dyd; Sat, 10 Feb 2024 11:30:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFodP5Q3wjvo7vd5xNnRI+lJVK1wMnEI9PPVaZOf17nui9oDMyWRmPWOVpeoZobHSsaaX6 X-Received: by 2002:a2e:8614:0:b0:2d0:91e5:6873 with SMTP id a20-20020a2e8614000000b002d091e56873mr1902028lji.44.1707593405374; Sat, 10 Feb 2024 11:30:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707593405; cv=pass; d=google.com; s=arc-20160816; b=TJ+BCWqTBScQsdbmo/dsvsZ+/+ecyNpXapGVBs6CXnEQi77jRbRxyvOoISHK7eHx3C Nc++CZb4xbZh3FFdqcnBVZVojGSqWQL1kirFwqlB5nxYw//Dn17GN3DiaslMKy8vaZ+k ggBhISw/Qn/taGhXjDC0p4gv9Jhm80gC4QEdxfA06x8Os56yHJrprndhsCT5c9HXRzN3 cGGa4YtIwZw6fJAvWp9IuYYbazOwsD9e52vUpf8GXiTq7zwqo09YuVTwhHBoEgTXLVD6 iyA00LG+BdSN5CmC4DGau8QxOHBWeIT4cKRaFhWT41j40VRDy4xAyYL/h8JdK24SdaFt GsPg== 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=7y4YKyttMpKUVwZxQNCkTT0b17KqO06VPlIQug/wxEY=; fh=YXTI+lWjQ454uwwMEv2IB7pjGpq8rUnKeUY7dRMWOEw=; b=QXKGLNiWZiDikdW+7GKQZTggbPIW9IDukNyEAIQTOTUj8KDpDuzjQSi9Fd57zvMyBR Cj6hFB+42b+B1hmjqxDyhwBch3SlcItCqX4ETD4oFoe3PgJTvNzn+qUlnJjy3La0g4kB NGfuw/T3UJzn9BArVrLJSiYysVUxzBOJn6uhFGc6iXOgba339xDLxR8PAgp4t0i7s9Y9 dvHmcw+2Z/hDb/Dr0m+OnetFyI8BUzc+ecY1xkC7uIP3vlUuqb6bGhQ7HMlIRL6YiVYU bCgGcQrCtNMkSOVLVxu1hILbyD6vkUgpMkZu3ZIB8TPuj0Kk5nT2AxS7UT52wUIkD3Xm rsUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EnQAerpi; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-60527-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60527-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCXFzbHgK2yFmhg+Fbkocak5xM/CzBlzf8ez8JHumyvdx1kza2m1oCSSFklBr8jsOn0ZS60PR0Kh0EzjouJwBS9hHmzYSw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m4-20020a50ef04000000b00560dedd6fafsi1026281eds.167.2024.02.10.11.30.05 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 11:30:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60527-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EnQAerpi; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-60527-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60527-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id F01F51F23365 for <ouuuleilei@gmail.com>; Sat, 10 Feb 2024 19:30:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A25F5F84E; Sat, 10 Feb 2024 19:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EnQAerpi" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5380D210EE; Sat, 10 Feb 2024 19:29:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707593387; cv=none; b=Mz6v3YK1CS0zFvbEqSgjKX/9vFfwIp8f434R5sJsIofg3t/u2s7O8s+L4SWXmTTMcRgu0cfFQu6gA/jFLSLfXzgue4Z5tAtBj1Mp2VawHNFuIt1rllTjwTgwI21hXWuOSMUyqkuuhe/kPezv90QkhjIKYijlqxeK3HPAorp9Mgg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707593387; c=relaxed/simple; bh=KU+LyuoLoBParnVjDFENTlgWEKKyx/4rdYR/ilGeQTQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=bzyScLzbjT6j8IFl8n62Z+1Ou+L0xO+/8eaoEp2XqV97OR9ecOjt3kuhAG073/mZQTOETFT/30h8k3yv/VGv/L/Evsoh0iWEGZIRtDJytdj8PaVSJFR96Z9mfPiGyAj2oeTQSeaX28Es3r2vxjTpOqXKOXDfx44UcdY47eUfTls= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EnQAerpi; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41068e36cbbso13893515e9.2; Sat, 10 Feb 2024 11:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707593384; x=1708198184; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7y4YKyttMpKUVwZxQNCkTT0b17KqO06VPlIQug/wxEY=; b=EnQAerpiFoUlHT1n6ln87exc/S6VjACkLupzzSoZeVrTbG+T9Pgj2MrSRGXJO2E9yN ExDdmpsbN2itraXPkiEZPPwwMoVecnGtiOTXFbcuwCjix3KjzzLHTIzVQ0YPvBnPhjYX NOQ5hpr8cxFyT9XQoS1omC5pXe4fSE5nLMhfJSt4P8xNuYHz/Tc4kFqlMar/Mj0EAl1i V+GTQWn9iOAPXh2PN3vxnruRP7Oo3opELpwTWWgBTZybTnaXzw/DnWAt7Y5FI7qZzmae 7sDxbfiTED+77zMsxfzaKIbLE/oHCSYVf46VQn1vxC+709GkISqOlk7q9yPS0iHplHU7 r44w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707593384; x=1708198184; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7y4YKyttMpKUVwZxQNCkTT0b17KqO06VPlIQug/wxEY=; b=qgC3iRbW6YNFm6rv0vllulxbaPP2unFbGcBe+9MFAXPjomaj1JjvVq+Z6/9e+4gOwz 6EWZMJ50oGdC3hQ12rDepaGq/JwhzFKAif4aon45VQdtTZirQBlnhU2Nlz9ncfScVTQk /r7/bXaYTV9JLOwsc1ECaTZF5Wquw+ZflCohB7ZQMBY/AUAC1hjUhndHPnxW8mWVTqVc oKDw7tEAQTZwPg/nMTzNBRwBf9Fv2VOuAPjTImbewMmJ6mmlKjcO3nwJKxKc+TxB/DLg zbTuLYq6lSCeqhDs0dWqgVX+ZdD5koPiPgwYaT/aGEQLd9KbJz5aWczDzDYVbyj3TfTW mOYg== X-Gm-Message-State: AOJu0YzPJNSl9K3blHOvNoGJEVB5Pw5/XYgyEUU4r+E79TTX6QDFZjVS Lo6Pdr4X/DS6q3HGvTocp5UwG+FUUVN8shmfQ4AP8N888diNDLaWznYh3aHyd94= X-Received: by 2002:a05:600c:6007:b0:410:9ce0:2001 with SMTP id az7-20020a05600c600700b004109ce02001mr1446644wmb.38.1707593384317; Sat, 10 Feb 2024 11:29:44 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCX0ei8tZOc+SDcJw4EIEbkfPdJUW2RN78ZjruBoQfB8ky8n2his3bxu8rYaan0WfPPEgxK8no+YLecaEzzH/KpXS9nXlQ0YgD/xbsgHqi9G6PoyffJDpVxdZk3tCWyYyW0HtS2aFdwNjAWD+v6PTDmAEHq0qQG/BgAPVmpYUkdUhlj36o1S4tbw+GP5ZYJqIF6KzmJTJDI+MI57QgvH Received: from Attila-PC.. ([188.24.48.22]) by smtp.gmail.com with ESMTPSA id bv15-20020a0560001f0f00b0033b48190e5esm2540372wrb.67.2024.02.10.11.29.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 11:29:44 -0800 (PST) From: =?utf-8?b?QXR0aWxhIFTFkWvDqXM=?= <attitokes@gmail.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?b?QXR0aWxhIFTFkWvDqXM=?= <attitokes@gmail.com> Subject: [PATCH] ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU Date: Sat, 10 Feb 2024 21:29:34 +0200 Message-Id: <20240210192934.143491-1-attitokes@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790541462274594037 X-GMAIL-MSGID: 1790541462274594037 |
Series |
ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU
|
|
Commit Message
Attila Tőkés
Feb. 10, 2024, 7:29 p.m. UTC
Like many other models, the Lenovo 82UU (Yoga Slim 7 Pro 14ARH7)
needs a quirk entry for the internal microphone to function.
Signed-off-by: Attila Tőkés <attitokes@gmail.com>
---
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index 23d44a50d815..864976a81393 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -234,6 +234,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "82UG"), } }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "82UU"), + } + }, { .driver_data = &acp6x_card, .matches = {