Skip to content

Commit 51add16

Browse files
jwrdegoedebroonie
authored andcommitted
ASoC: rt5645: Drop double EF20 entry from dmi_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: a4dae46 ("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> Link: https://msgid.link/r/20231126214024.300505-2-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2f29988 commit 51add16

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

sound/soc/codecs/rt5645.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3847,14 +3847,6 @@ static const struct dmi_system_id dmi_platform_data[] = {
38473847
},
38483848
.driver_data = (void *)&ecs_ef20_platform_data,
38493849
},
3850-
{
3851-
.ident = "EF20EA",
3852-
.callback = cht_rt5645_ef20_quirk_cb,
3853-
.matches = {
3854-
DMI_MATCH(DMI_PRODUCT_NAME, "EF20EA"),
3855-
},
3856-
.driver_data = (void *)&ecs_ef20_platform_data,
3857-
},
38583850
{ }
38593851
};
38603852

0 commit comments

Comments
 (0)