summaryrefslogtreecommitdiff
path: root/sound/soc/xilinx/xlnx_spdif.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_spdif.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_spdif.c')
-rw-r--r--sound/soc/xilinx/xlnx_spdif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/xilinx/xlnx_spdif.c b/sound/soc/xilinx/xlnx_spdif.c
index cba0e868a7d7..7342048e9875 100644
--- a/sound/soc/xilinx/xlnx_spdif.c
+++ b/sound/soc/xilinx/xlnx_spdif.c
@@ -226,6 +226,7 @@ static struct snd_soc_dai_driver xlnx_spdif_rx_dai = {
static const struct snd_soc_component_driver xlnx_spdif_component = {
.name = "xlnx-spdif",
+ .legacy_dai_naming = 1,
};
static const struct of_device_id xlnx_spdif_of_match[] = {