Message ID | 20231126214024.300505-2-hdegoede@redhat.com |
---|---|
State | Accepted |
Commit | 51add1687f39292af626ac3c2046f49241713273 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 DC224C4167B for <alsa-devel@archiver.kernel.org>; Sun, 26 Nov 2023 21:42:01 +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 EAC19A4B; Sun, 26 Nov 2023 22:41:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EAC19A4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701034920; bh=bUnG2Dwux3S7M46eyvIX5vZyg/mnC7+IGCu4Q7sbd34=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Ca0AcjtEUxsZita1wtPRuvY0dY85xj1F6M8ETITq8Dvv1O5f82+zCs6AZcdG3A1iC LmvIdEsly8waDSwkB06HeZ55PBSwwkMGDiEnmBqcHpK2oHfZ8PQ8khNeWigupedmqO 6MDodd25yWlRlxvZ3JcnbeI3t73TUXiWrL1JBUAE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A8E33F805AB; Sun, 26 Nov 2023 22:41:09 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 0A9FFF805C2; Sun, 26 Nov 2023 22:41:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 51880F80246; Sun, 26 Nov 2023 22:40:47 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 9FECAF80166 for <alsa-devel@alsa-project.org>; Sun, 26 Nov 2023 22:40:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9FECAF80166 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=g5dOoJKg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701034842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Hu/hYzXEFtlTmLHj1Fh/Olqp370dtoiMpiHfHffcvg=; b=g5dOoJKgcfgFTh3G2Qm7RSlxH9f2ywNSCH/FiHeo4/7CU3JAI6V6Zy1tHDSyX/cpIQfIHe //28XBrYmAY72QHhJ5Y5KFac3qEp5ykEW4exnzXOLtGzaa6FEg47mlaIzcOpAWqMiGa//+ 56jD4NIlk1auo6LKj3dAK9lXLeyNPhw= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-348-fyvOMXNvOyaJ3pDR9nBuAQ-1; Sun, 26 Nov 2023 16:40:36 -0500 X-MC-Unique: fyvOMXNvOyaJ3pDR9nBuAQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0C75F1C068D3; Sun, 26 Nov 2023 21:40:36 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.192.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id CCE501C060B0; Sun, 26 Nov 2023 21:40:34 +0000 (UTC) From: Hans de Goede <hdegoede@redhat.com> To: Cezary Rojewski <cezary.rojewski@intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Liam Girdwood <lgirdwood@gmail.com>, Peter Ujfalusi <peter.ujfalusi@linux.intel.com>, Mark Brown <broonie@kernel.org> Cc: Hans de Goede <hdegoede@redhat.com>, Oder Chiou <oder_chiou@realtek.com>, alsa-devel@alsa-project.org, Chris Chiu <chiu@endlessos.org> Subject: [PATCH 1/7] ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[] Date: Sun, 26 Nov 2023 22:40:18 +0100 Message-ID: <20231126214024.300505-2-hdegoede@redhat.com> In-Reply-To: <20231126214024.300505-1-hdegoede@redhat.com> References: <20231126214024.300505-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Message-ID-Hash: G52QZC63U5SWRJ75LXFNJRVMWT2H7RSN X-Message-ID-Hash: G52QZC63U5SWRJ75LXFNJRVMWT2H7RSN X-MailFrom: hdegoede@redhat.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/G52QZC63U5SWRJ75LXFNJRVMWT2H7RSN/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
[1/7] ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]
|
expand
|
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 7938b52d741d..c7089c2f7c5c 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3847,14 +3847,6 @@ static const struct dmi_system_id dmi_platform_data[] = { }, .driver_data = (void *)&ecs_ef20_platform_data, }, - { - .ident = "EF20EA", - .callback = cht_rt5645_ef20_quirk_cb, - .matches = { - DMI_MATCH(DMI_PRODUCT_NAME, "EF20EA"), - }, - .driver_data = (void *)&ecs_ef20_platform_data, - }, { } };
dmi_platform_data[] first contains a DMI entry matching: DMI_MATCH(DMI_PRODUCT_NAME, "EF20"), and then contains an identical entry except for the match being: DMI_MATCH(DMI_PRODUCT_NAME, "EF20EA"), Since these are partial (non exact) DMI matches the first match will also match any board with "EF20EA" in their DMI product-name, drop the second, redundant, entry. Fixes: a4dae468cfdd ("ASoC: rt5645: Add ACPI-defined GPIO for ECS EF20 series") Cc: Chris Chiu <chiu@endlessos.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- sound/soc/codecs/rt5645.c | 8 -------- 1 file changed, 8 deletions(-)