ASoC: au1x: Migrate to new style legacy DAI naming flag
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 12:51:41 +0000 (13:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:16:39 +0000 (13:16 +0100)
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-28-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/au1x/ac97c.c
sound/soc/au1x/i2sc.c
sound/soc/au1x/psc-ac97.c
sound/soc/au1x/psc-i2s.c

index 3b1700e665f52a13fa3ce4ed8d2f615eb42d102e..b18512ca25781ab150f9f66a6a6a52a126100473 100644 (file)
@@ -223,7 +223,8 @@ static struct snd_soc_dai_driver au1xac97c_dai_driver = {
 };
 
 static const struct snd_soc_component_driver au1xac97c_component = {
-       .name           = "au1xac97c",
+       .name                   = "au1xac97c",
+       .legacy_dai_naming      = 1,
 };
 
 static int au1xac97c_drvprobe(struct platform_device *pdev)
index 45bb7851e75d7016adcd09ca540f8e4758a4a411..b15c8baa9ee454903017e9dfe3a05e83c2799ec4 100644 (file)
@@ -227,7 +227,8 @@ static struct snd_soc_dai_driver au1xi2s_dai_driver = {
 };
 
 static const struct snd_soc_component_driver au1xi2s_component = {
-       .name           = "au1xi2s",
+       .name                   = "au1xi2s",
+       .legacy_dai_naming      = 1,
 };
 
 static int au1xi2s_drvprobe(struct platform_device *pdev)
index 05eb36991f147a8dcbeb631961e4e4b76a31c776..b536394b9ca08309f9c8391d67424107592741fe 100644 (file)
@@ -356,7 +356,8 @@ static const struct snd_soc_dai_driver au1xpsc_ac97_dai_template = {
 };
 
 static const struct snd_soc_component_driver au1xpsc_ac97_component = {
-       .name           = "au1xpsc-ac97",
+       .name                   = "au1xpsc-ac97",
+       .legacy_dai_naming      = 1,
 };
 
 static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
index 530a072d742746abd0c9a07041aa45baaee9f3e1..79b5ae4e494cb6410350cbc0e9331674193cbadc 100644 (file)
@@ -286,7 +286,8 @@ static const struct snd_soc_dai_driver au1xpsc_i2s_dai_template = {
 };
 
 static const struct snd_soc_component_driver au1xpsc_i2s_component = {
-       .name           = "au1xpsc-i2s",
+       .name                   = "au1xpsc-i2s",
+       .legacy_dai_naming      = 1,
 };
 
 static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)