Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: sti-uniperf: 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-18-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Charles Keepax and committed by
Mark Brown
ad483da7 d8572da0

+2 -1
+2 -1
sound/soc/sti/sti_uniperif.c
··· 376 376 static const struct snd_soc_component_driver sti_uniperiph_dai_component = { 377 377 .name = "sti_cpu_dai", 378 378 .suspend = sti_uniperiph_suspend, 379 - .resume = sti_uniperiph_resume 379 + .resume = sti_uniperiph_resume, 380 + .legacy_dai_naming = 1, 380 381 }; 381 382 382 383 static int sti_uniperiph_cpu_dai_of(struct device_node *node,