aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/atmel-pdmic.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-pdmic.c
parent0bc1e7d1fc3c50cf1eb62cd3c8d2b73c5f6d83fe (diff)
downloadlinux-7593e00807fb62e9f5e7367fc2500428cc317ff0.tar.gz
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-pdmic.c')
-rw-r--r--sound/soc/atmel/atmel-pdmic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel-pdmic.c b/sound/soc/atmel/atmel-pdmic.c
index ea34efac2fff..77ff12baead5 100644
--- a/sound/soc/atmel/atmel-pdmic.c
+++ b/sound/soc/atmel/atmel-pdmic.c
@@ -481,6 +481,7 @@ static const struct snd_soc_component_driver atmel_pdmic_cpu_dai_component = {
.num_controls = ARRAY_SIZE(atmel_pdmic_snd_controls),
.idle_bias_on = 1,
.use_pmdown_time = 1,
+ .legacy_dai_naming = 1,
};
/* ASoC sound card */