mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220623125250.2355471-8-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2bebc3b622
commit
fe58b58330
2 changed files with 6 additions and 4 deletions
|
@ -355,7 +355,8 @@ static struct snd_soc_dai_driver ep93xx_ac97_dai = {
|
|||
};
|
||||
|
||||
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)
|
||||
|
|
|
@ -422,9 +422,10 @@ static struct snd_soc_dai_driver ep93xx_i2s_dai = {
|
|||
};
|
||||
|
||||
static const struct snd_soc_component_driver ep93xx_i2s_component = {
|
||||
.name = "ep93xx-i2s",
|
||||
.suspend = ep93xx_i2s_suspend,
|
||||
.resume = ep93xx_i2s_resume,
|
||||
.name = "ep93xx-i2s",
|
||||
.suspend = ep93xx_i2s_suspend,
|
||||
.resume = ep93xx_i2s_resume,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
static int ep93xx_i2s_probe(struct platform_device *pdev)
|
||||
|
|
Loading…
Reference in a new issue