summaryrefslogtreecommitdiffstats
path: root/sound/soc/img/img-spdif-in.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-06-23 14:51:18 +0200
committerMark Brown <broonie@kernel.org>2022-06-27 14:16:17 +0200
commit5f9d69986014945b826c712081678446c1f10fd7 (patch)
tree85115b3ca57902dc8e711615bc8b6a3cf5f08cd0 /sound/soc/img/img-spdif-in.c
parentdrm/vc4: Migrate to new style legacy DAI naming flag (diff)
downloadlinux-5f9d69986014945b826c712081678446c1f10fd7.tar.xz
linux-5f9d69986014945b826c712081678446c1f10fd7.zip
ASoC: img: 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-5-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/img/img-spdif-in.c')
-rw-r--r--sound/soc/img/img-spdif-in.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/img/img-spdif-in.c b/sound/soc/img/img-spdif-in.c
index a79d1ccaeec0..3f1d1a7e8735 100644
--- a/sound/soc/img/img-spdif-in.c
+++ b/sound/soc/img/img-spdif-in.c
@@ -711,7 +711,8 @@ static struct snd_soc_dai_driver img_spdif_in_dai = {
};
static const struct snd_soc_component_driver img_spdif_in_component = {
- .name = "img-spdif-in"
+ .name = "img-spdif-in",
+ .legacy_dai_naming = 1,
};
static int img_spdif_in_probe(struct platform_device *pdev)