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

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

authored by

Charles Keepax and committed by
Mark Brown
eeb021ee 5f9d6998

+4 -2
+2 -1
sound/soc/spear/spdif_in.c
··· 172 172 }; 173 173 174 174 static const struct snd_soc_component_driver spdif_in_component = { 175 - .name = "spdif-in", 175 + .name = "spdif-in", 176 + .legacy_dai_naming = 1, 176 177 }; 177 178 178 179 static irqreturn_t spdif_in_irq(int irq, void *arg)
+2 -1
sound/soc/spear/spdif_out.c
··· 273 273 }; 274 274 275 275 static const struct snd_soc_component_driver spdif_out_component = { 276 - .name = "spdif-out", 276 + .name = "spdif-out", 277 + .legacy_dai_naming = 1, 277 278 }; 278 279 279 280 static int spdif_out_probe(struct platform_device *pdev)