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

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.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2bebc3b6
...@@ -355,7 +355,8 @@ static struct snd_soc_dai_driver ep93xx_ac97_dai = { ...@@ -355,7 +355,8 @@ static struct snd_soc_dai_driver ep93xx_ac97_dai = {
}; };
static const struct snd_soc_component_driver ep93xx_ac97_component = { static const struct snd_soc_component_driver ep93xx_ac97_component = {
.name = "ep93xx-ac97", .name = "ep93xx-ac97",
.legacy_dai_naming = 1,
}; };
static int ep93xx_ac97_probe(struct platform_device *pdev) static int ep93xx_ac97_probe(struct platform_device *pdev)
......
...@@ -422,9 +422,10 @@ static struct snd_soc_dai_driver ep93xx_i2s_dai = { ...@@ -422,9 +422,10 @@ static struct snd_soc_dai_driver ep93xx_i2s_dai = {
}; };
static const struct snd_soc_component_driver ep93xx_i2s_component = { static const struct snd_soc_component_driver ep93xx_i2s_component = {
.name = "ep93xx-i2s", .name = "ep93xx-i2s",
.suspend = ep93xx_i2s_suspend, .suspend = ep93xx_i2s_suspend,
.resume = ep93xx_i2s_resume, .resume = ep93xx_i2s_resume,
.legacy_dai_naming = 1,
}; };
static int ep93xx_i2s_probe(struct platform_device *pdev) static int ep93xx_i2s_probe(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment