summaryrefslogtreecommitdiff
path: root/sound/soc/xilinx/xlnx_i2s.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-06-23 13:51:27 +0100
committerMark Brown <broonie@kernel.org>2022-06-27 13:16:25 +0100
commitbd486b070b1e24b38b3d6d7e33abffe4a18e3296 (patch)
treef6247e889f12e296045823ed2293f7d5eace0e99 /sound/soc/xilinx/xlnx_i2s.c
parentbf6dacb784f0efb5a225f6560d693fa71c7fda64 (diff)
ASoC: xilinx: 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-14-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/xilinx/xlnx_i2s.c')
-rw-r--r--sound/soc/xilinx/xlnx_i2s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/xilinx/xlnx_i2s.c b/sound/soc/xilinx/xlnx_i2s.c
index 4cc6ee7c81a3..9de92d35e30e 100644
--- a/sound/soc/xilinx/xlnx_i2s.c
+++ b/sound/soc/xilinx/xlnx_i2s.c
@@ -158,6 +158,7 @@ static const struct snd_soc_dai_ops xlnx_i2s_dai_ops = {
static const struct snd_soc_component_driver xlnx_i2s_component = {
.name = DRV_NAME,
+ .legacy_dai_naming = 1,
};
static const struct of_device_id xlnx_i2s_of_match[] = {