diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-06-23 13:51:24 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 13:16:22 +0100 |
commit | f712ff57a27090baff61f92bdb6521e8781d5e6b (patch) | |
tree | c135371315675a932cfed95672cdf1369d4f9347 /sound/soc/sh/rz-ssi.c | |
parent | b9a0db0ae5247d92f379107a9c479f881914999d (diff) |
ASoC: sh: 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-11-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rz-ssi.c')
-rw-r--r-- | sound/soc/sh/rz-ssi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/soc/sh/rz-ssi.c b/sound/soc/sh/rz-ssi.c index beaf1a8d6da1..0d0594a0e4f6 100644 --- a/sound/soc/sh/rz-ssi.c +++ b/sound/soc/sh/rz-ssi.c @@ -906,10 +906,11 @@ static struct snd_soc_dai_driver rz_ssi_soc_dai[] = { }; static const struct snd_soc_component_driver rz_ssi_soc_component = { - .name = "rz-ssi", - .open = rz_ssi_pcm_open, - .pointer = rz_ssi_pcm_pointer, - .pcm_construct = rz_ssi_pcm_new, + .name = "rz-ssi", + .open = rz_ssi_pcm_open, + .pointer = rz_ssi_pcm_pointer, + .pcm_construct = rz_ssi_pcm_new, + .legacy_dai_naming = 1, }; static int rz_ssi_probe(struct platform_device *pdev) |