diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-06-23 15:51:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 15:16:26 +0300 |
commit | f450b5dbce413b276e6c9215b40868b905c7b634 (patch) | |
tree | d2cbabc9d1eab23032ac0d5ae54cda3b7f124206 /sound/soc/sunxi/sun4i-i2s.c | |
parent | bd486b070b1e24b38b3d6d7e33abffe4a18e3296 (diff) | |
download | linux-f450b5dbce413b276e6c9215b40868b905c7b634.tar.xz |
ASoC: sunxi: 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-15-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/sun4i-i2s.c')
-rw-r--r-- | sound/soc/sunxi/sun4i-i2s.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 5be33d07361b..6028871825ba 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -1125,7 +1125,8 @@ static struct snd_soc_dai_driver sun4i_i2s_dai = { }; static const struct snd_soc_component_driver sun4i_i2s_component = { - .name = "sun4i-dai", + .name = "sun4i-dai", + .legacy_dai_naming = 1, }; static bool sun4i_i2s_rd_reg(struct device *dev, unsigned int reg) |