Unverified Commit 05603f15 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

ASoC: pxa: 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: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623125250.2355471-29-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8e750817
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -460,6 +460,7 @@ static const struct snd_soc_component_driver mmp_sspa_component = {
	.mmap			= mmp_pcm_mmap,
	.open			= mmp_sspa_open,
	.close			= mmp_sspa_close,
	.legacy_dai_naming	= 1,
};

static int asoc_mmp_sspa_probe(struct platform_device *pdev)
+11 −10
Original line number Diff line number Diff line
@@ -858,6 +858,7 @@ static const struct snd_soc_component_driver pxa_ssp_component = {
	.pointer		= pxa2xx_soc_pcm_pointer,
	.suspend		= pxa_ssp_suspend,
	.resume			= pxa_ssp_resume,
	.legacy_dai_naming	= 1,
};

#ifdef CONFIG_OF
+11 −10
Original line number Diff line number Diff line
@@ -365,6 +365,7 @@ static const struct snd_soc_component_driver pxa_i2s_component = {
	.pointer		= pxa2xx_soc_pcm_pointer,
	.suspend		= pxa2xx_soc_pcm_suspend,
	.resume			= pxa2xx_soc_pcm_resume,
	.legacy_dai_naming	= 1,
};

static int pxa2xx_i2s_drv_probe(struct platform_device *pdev)