Unverified Commit 8e750817 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

ASoC: au1x: 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-28-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d48a7717
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -224,6 +224,7 @@ static struct snd_soc_dai_driver au1xac97c_dai_driver = {

static const struct snd_soc_component_driver au1xac97c_component = {
	.name			= "au1xac97c",
	.legacy_dai_naming	= 1,
};

static int au1xac97c_drvprobe(struct platform_device *pdev)
+2 −1
Original line number Diff line number Diff line
@@ -228,6 +228,7 @@ static struct snd_soc_dai_driver au1xi2s_dai_driver = {

static const struct snd_soc_component_driver au1xi2s_component = {
	.name			= "au1xi2s",
	.legacy_dai_naming	= 1,
};

static int au1xi2s_drvprobe(struct platform_device *pdev)
+2 −1
Original line number Diff line number Diff line
@@ -357,6 +357,7 @@ static const struct snd_soc_dai_driver au1xpsc_ac97_dai_template = {

static const struct snd_soc_component_driver au1xpsc_ac97_component = {
	.name			= "au1xpsc-ac97",
	.legacy_dai_naming	= 1,
};

static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
+2 −1
Original line number Diff line number Diff line
@@ -287,6 +287,7 @@ static const struct snd_soc_dai_driver au1xpsc_i2s_dai_template = {

static const struct snd_soc_component_driver au1xpsc_i2s_component = {
	.name			= "au1xpsc-i2s",
	.legacy_dai_naming	= 1,
};

static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)