summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/mchp-pdmc.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-06-23 14:51:33 +0200
committerMark Brown <broonie@kernel.org>2022-06-27 14:16:31 +0200
commit7593e00807fb62e9f5e7367fc2500428cc317ff0 (patch)
tree499186277dde6e1e1e65b6566f04591f94dcc7f7 /sound/soc/atmel/mchp-pdmc.c
parentASoC: amd: Migrate to new style legacy DAI naming flag (diff)
downloadlinux-7593e00807fb62e9f5e7367fc2500428cc317ff0.tar.xz
linux-7593e00807fb62e9f5e7367fc2500428cc317ff0.zip
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/mchp-pdmc.c')
-rw-r--r--sound/soc/atmel/mchp-pdmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/mchp-pdmc.c b/sound/soc/atmel/mchp-pdmc.c
index b9f637059448..aba7c5cde62c 100644
--- a/sound/soc/atmel/mchp-pdmc.c
+++ b/sound/soc/atmel/mchp-pdmc.c
@@ -423,6 +423,7 @@ static const struct snd_soc_component_driver mchp_pdmc_dai_component = {
.num_controls = ARRAY_SIZE(mchp_pdmc_snd_controls),
.open = &mchp_pdmc_open,
.close = &mchp_pdmc_close,
+ .legacy_dai_naming = 1,
};
static const unsigned int mchp_pdmc_1mic[] = {1};