summaryrefslogtreecommitdiff
path: root/sound/soc/amd/raven/acp3x-i2s.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-06-23 15:51:32 +0300
committerMark Brown <broonie@kernel.org>2022-06-27 15:16:30 +0300
commit0bc1e7d1fc3c50cf1eb62cd3c8d2b73c5f6d83fe (patch)
tree87fd181c4da2c417bdfc4028aaf72518886a263c /sound/soc/amd/raven/acp3x-i2s.c
parentad483da7b0a17fdf4df0bd75b2cf29b5650ca2f7 (diff)
downloadlinux-0bc1e7d1fc3c50cf1eb62cd3c8d2b73c5f6d83fe.tar.xz
ASoC: amd: 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-19-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/raven/acp3x-i2s.c')
-rw-r--r--sound/soc/amd/raven/acp3x-i2s.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/amd/raven/acp3x-i2s.c b/sound/soc/amd/raven/acp3x-i2s.c
index de6f70d7ef36..aa38cef1776d 100644
--- a/sound/soc/amd/raven/acp3x-i2s.c
+++ b/sound/soc/amd/raven/acp3x-i2s.c
@@ -257,7 +257,8 @@ static const struct snd_soc_dai_ops acp3x_i2s_dai_ops = {
};
static const struct snd_soc_component_driver acp3x_dai_component = {
- .name = DRV_NAME,
+ .name = DRV_NAME,
+ .legacy_dai_naming = 1,
};
static struct snd_soc_dai_driver acp3x_i2s_dai = {