summaryrefslogtreecommitdiff
path: root/sound/soc/atmel/atmel-i2s.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-06-23 13:51:33 +0100
committerMark Brown <broonie@kernel.org>2022-06-27 13:16:31 +0100
commit7593e00807fb62e9f5e7367fc2500428cc317ff0 (patch)
tree499186277dde6e1e1e65b6566f04591f94dcc7f7 /sound/soc/atmel/atmel-i2s.c
parent0bc1e7d1fc3c50cf1eb62cd3c8d2b73c5f6d83fe (diff)
ASoC: atmel: 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-20-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel/atmel-i2s.c')
-rw-r--r--sound/soc/atmel/atmel-i2s.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/atmel/atmel-i2s.c b/sound/soc/atmel/atmel-i2s.c
index ba56d6ac7e57..425d66edbf86 100644
--- a/sound/soc/atmel/atmel-i2s.c
+++ b/sound/soc/atmel/atmel-i2s.c
@@ -564,7 +564,8 @@ static struct snd_soc_dai_driver atmel_i2s_dai = {
};
static const struct snd_soc_component_driver atmel_i2s_component = {
- .name = "atmel-i2s",
+ .name = "atmel-i2s",
+ .legacy_dai_naming = 1,
};
static int atmel_i2s_sama5d2_mck_init(struct atmel_i2s_dev *dev,