diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-06-23 13:51:40 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 13:16:38 +0100 |
commit | d48a77173534df90788075e76fa88c52b7395a1e (patch) | |
tree | 7197f7ffc09542c9528cab24ac3af82742607db3 /sound/soc/rockchip/rockchip_spdif.c | |
parent | d73130ba523b88a3edb097ae3eb9f93df844b5e2 (diff) | |
download | linux-stable-d48a77173534df90788075e76fa88c52b7395a1e.tar.gz linux-stable-d48a77173534df90788075e76fa88c52b7395a1e.tar.bz2 linux-stable-d48a77173534df90788075e76fa88c52b7395a1e.zip |
ASoC: rockchip: 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-27-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_spdif.c')
-rw-r--r-- | sound/soc/rockchip/rockchip_spdif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c index d027ca4b1796..8bef572d3cbc 100644 --- a/sound/soc/rockchip/rockchip_spdif.c +++ b/sound/soc/rockchip/rockchip_spdif.c @@ -225,6 +225,7 @@ static struct snd_soc_dai_driver rk_spdif_dai = { static const struct snd_soc_component_driver rk_spdif_component = { .name = "rockchip-spdif", + .legacy_dai_naming = 1, }; static bool rk_spdif_wr_reg(struct device *dev, unsigned int reg) |