diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-06-23 13:51:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 13:16:35 +0100 |
commit | e740ef3d9418db78ac7a8a24071933f9146af6e4 (patch) | |
tree | 5e9307d20835d2468808b2a21c0f294341e2e7ea | |
parent | 9a34161a0bc90df825694195659d894e80afe7a3 (diff) | |
download | linux-stable-e740ef3d9418db78ac7a8a24071933f9146af6e4.tar.gz linux-stable-e740ef3d9418db78ac7a8a24071933f9146af6e4.tar.bz2 linux-stable-e740ef3d9418db78ac7a8a24071933f9146af6e4.zip |
ASoC: dwc: 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).
This driver appears 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-24-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/dwc/dwc-i2s.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/dwc/dwc-i2s.c b/sound/soc/dwc/dwc-i2s.c index e794e020052e..7f7dd07c63b2 100644 --- a/sound/soc/dwc/dwc-i2s.c +++ b/sound/soc/dwc/dwc-i2s.c @@ -449,9 +449,10 @@ static int dw_i2s_resume(struct snd_soc_component *component) #endif static const struct snd_soc_component_driver dw_i2s_component = { - .name = "dw-i2s", - .suspend = dw_i2s_suspend, - .resume = dw_i2s_resume, + .name = "dw-i2s", + .suspend = dw_i2s_suspend, + .resume = dw_i2s_resume, + .legacy_dai_naming = 1, }; /* |