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

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

authored by

Charles Keepax and committed by
Mark Brown
725cf3bc f450b5db

+8 -6
+8 -6
sound/soc/intel/keembay/kmb_platform.c
··· 388 388 } 389 389 390 390 static const struct snd_soc_component_driver kmb_component = { 391 - .name = "kmb", 392 - .pcm_construct = kmb_platform_pcm_new, 393 - .open = kmb_pcm_open, 394 - .trigger = kmb_pcm_trigger, 395 - .pointer = kmb_pcm_pointer, 391 + .name = "kmb", 392 + .pcm_construct = kmb_platform_pcm_new, 393 + .open = kmb_pcm_open, 394 + .trigger = kmb_pcm_trigger, 395 + .pointer = kmb_pcm_pointer, 396 + .legacy_dai_naming = 1, 396 397 }; 397 398 398 399 static const struct snd_soc_component_driver kmb_component_dma = { 399 - .name = "kmb", 400 + .name = "kmb", 401 + .legacy_dai_naming = 1, 400 402 }; 401 403 402 404 static int kmb_probe(struct snd_soc_dai *cpu_dai)