From patchwork Mon Apr 10 18:21:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cem Kaya X-Patchwork-Id: 13208493 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 C56BAC7619A for ; Wed, 12 Apr 2023 05:27:57 +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 542E5ED8; Wed, 12 Apr 2023 07:27:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 542E5ED8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1681277275; bh=2Q1QfDLidWOx0vwCBo7twhIaSputg6KvvaS75C4cpKU=; h=Date:From:To:Subject:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Ubbi3PW2OAWsMBxmC++NPyAovCT+W29HUf4VCe9nnD9/twVxiTaJ+iZKvkP5mXQrs rXkqsH7o4qPyt3VjGbg6zJ1u23qB+VxDV65uJQhEvDbBA/WRRD5BshmvASLERP49KK iim+3HF+yhda5hR+ffQUSumNzTyebGeiqVZ+9i7c= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 3874FF8052D; Wed, 12 Apr 2023 07:26:12 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8268F8032B; Mon, 10 Apr 2023 20:21:15 +0200 (CEST) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6E18FF80100 for ; Mon, 10 Apr 2023 20:21:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6E18FF80100 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=H4sWVlzd Received: by mail-wm1-x32e.google.com with SMTP id gw13so3236261wmb.3 for ; Mon, 10 Apr 2023 11:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681150867; h=mime-version:subject:message-id:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=kQfXfFvXsi72YzoleRJnsOA1fZ7sAfMWpub553NMAfk=; b=H4sWVlzd9x9oPf/s2EeTuRbzoQb73u5Q2c2cP5Kt8ADoNLqExDmTU/yGzXoyk44teV RWGb2eqTM8yDHnjLJlVn7KLi6rf4/WocjXCvxeSuI9ypRSK+DGLdBkavfMkCg1m5jtUD LEgbn5mVkoJWNzU9fm4FnUkxhGJGS2HdFkUA+PAesqlrljrg2CYFerdpB5ljCVDjoteO UtB9VB1RHbx/QKFfxf7ACDmGwbWmQKC4M7chTS+IUg0vpYE+7Lk9aprCG4shpeik6rlM TOWMSKhaxf0haofu6ekfPJjB75cUdvJz2goNqHW51Pm/R1+gUy2Zzy46pu386mS/XdNS 77HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681150867; h=mime-version:subject:message-id:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kQfXfFvXsi72YzoleRJnsOA1fZ7sAfMWpub553NMAfk=; b=B9X9bBU1R4qg5Lw6Q9NOCLMKWtUBjg5M78eVSf3YyZYtDapmOvn0KT8RRhyTv11OCq gCZUkKA+f2uHmIEUQR+8I0OLcQCevpjuoyE3RqZu+7R8oVK9KI49Wq+jLRefm0jShWMw HCw8EbgeO9gNXpp/NhiUBahGvLd5s7JmOR44h4tu0HRWnXKPYiAcgX+AWlsNhk2UgSMh heU71QeZnXPyIPqFiAj3dR7+1eTiAOBvPD6E93Xzls7l6qNzP2nDXwGdmsgVI3W3k+w/ rR+EgmW3zOBEwYawER2IibkHACRvkcnPjTmpz/KXtxfWnwRye3gswIYMC7Ba6aKjXuq2 LJdw== X-Gm-Message-State: AAQBX9eWGihUfDxBwCbycTxtWwiPSkakt1KQZROpepVL3jZf0H7DJ4yA PbpCNmvA8HzYHuxoWg+65KU= X-Google-Smtp-Source: AKy350ZMIAFpxLpd9ReNoEeTp1OC6PzsYucoAL0PT5xgSbql/ZW5azf6XuwTuFZiZ+6u/lpQzi54FQ== X-Received: by 2002:a1c:7303:0:b0:3ed:276d:81a4 with SMTP id d3-20020a1c7303000000b003ed276d81a4mr219044wmb.32.1681150867227; Mon, 10 Apr 2023 11:21:07 -0700 (PDT) Received: from cem-g15 ([213.152.187.230]) by smtp.gmail.com with ESMTPSA id iv11-20020a05600c548b00b003ed29189777sm18613841wmb.47.2023.04.10.11.21.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Apr 2023 11:21:06 -0700 (PDT) Date: Mon, 10 Apr 2023 20:21:05 +0200 From: Cem Kaya To: Cem Kaya , " =?utf-8?q?tiwai=40suse=2Ecom?= " , " =?utf-8?q?perex=40pe?= =?utf-8?q?rex=2Ecz?= " Message-ID: <31D1DA75-51AE-4868-B959-F0BB53DBA658@getmailspring.com> Subject: Subject: [PATCH v4] ASoC: amd: Add Dell G15 5525 to quirks X-Mailer: Mailspring MIME-Version: 1.0 X-MailFrom: cemkaya.boun@gmail.com X-Mailman-Rule-Hits: nonmember-moderation 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 Message-ID-Hash: CZ4OCIYLU5C7RUCDTI6FNYV74ZROHUIT X-Message-ID-Hash: CZ4OCIYLU5C7RUCDTI6FNYV74ZROHUIT X-Mailman-Approved-At: Wed, 12 Apr 2023 05:22:34 +0000 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 3.3.8 CC: " =?utf-8?q?mario=2Elimonciello=40amd=2Ecom?= " , " =?utf-8?q?alsa-devel=40alsa-project=2Eorg?= " , " =?utf-8?q?linux-kernel=40vger=2Ekernel=2Eorg?= " , " =?utf-8?q?lgirdwood=40gmail=2Ecom?= " , " =?utf-8?q?broonie=40kernel=2Eorg?= " 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: From 20fa2a4fbb58eb775c0d4865c3cfcecd6a94ef18 Mon Sep 17 00:00:00 2001 From: Cem Kaya Date: Mon, 10 Apr 2023 19:43:56 +0200 Subject: [PATCH v4] ASoC: amd: Add Dell G15 5525 to quirks list Add Dell G15 5525 Ryzen Edition to quirks list for acp6x so that internal mic works. Link: https://bugzilla.kernel.org/show_bug.cgi?id=217155 Cc: Signed-off-by: Cem Kaya --- sound/soc/amd/yc/acp6x-mach.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.40.0 diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index a428e17f0325..e044d811496e 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -45,6 +45,13 @@ static struct snd_soc_card acp6x_card = { }; static const struct dmi_system_id yc_acp_quirk_table[] = { + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5525"), + } + }, { .driver_data = &acp6x_card, .matches = {