Unverified Commit fe58b583 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

ASoC: ep93xx: Migrate to new style legacy DAI naming flag



Change the legacy DAI naming flag from opting in to the new scheme
(non_legacy_dai_naming), to opting out of it (legacy_dai_naming).
These drivers appear to be on the CPU side of the DAI link and
currently uses the legacy naming, so add the new flag.

Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623125250.2355471-8-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2bebc3b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -356,6 +356,7 @@ static struct snd_soc_dai_driver ep93xx_ac97_dai = {

static const struct snd_soc_component_driver ep93xx_ac97_component = {
	.name			= "ep93xx-ac97",
	.legacy_dai_naming	= 1,
};

static int ep93xx_ac97_probe(struct platform_device *pdev)
+4 −3
Original line number Diff line number Diff line
@@ -425,6 +425,7 @@ static const struct snd_soc_component_driver ep93xx_i2s_component = {
	.name			= "ep93xx-i2s",
	.suspend		= ep93xx_i2s_suspend,
	.resume			= ep93xx_i2s_resume,
	.legacy_dai_naming	= 1,
};

static int ep93xx_i2s_probe(struct platform_device *pdev)