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

index 1289cb4e2988c4650d96a6c24bd6fd5fcb4c1278..b1342351bff43c85bcf02b34c6e8d6388f572ae0 100644 (file)
@@ -161,6 +161,7 @@ static struct snd_soc_dai_driver axi_i2s_dai = {
 
 static const struct snd_soc_component_driver axi_i2s_component = {
        .name = "axi-i2s",
+       .legacy_dai_naming = 1,
 };
 
 static const struct regmap_config axi_i2s_regmap_config = {
index 8d4a6cb4e5c5519800420124cf06eabbfc493c4d..51b968ea21daa119976682883cbd71a6b3867bf8 100644 (file)
@@ -167,6 +167,7 @@ static struct snd_soc_dai_driver axi_spdif_dai = {
 
 static const struct snd_soc_component_driver axi_spdif_component = {
        .name = "axi-spdif",
+       .legacy_dai_naming = 1,
 };
 
 static const struct regmap_config axi_spdif_regmap_config = {