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

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


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 36f07985
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -822,6 +822,7 @@ static const struct regmap_config bcm2835_regmap_config = {

static const struct snd_soc_component_driver bcm2835_i2s_component = {
	.name			= "bcm2835-i2s-comp",
	.legacy_dai_naming	= 1,
};

static int bcm2835_i2s_probe(struct platform_device *pdev)
+1 −0
Original line number Diff line number Diff line
@@ -218,6 +218,7 @@ static struct snd_soc_dai_driver bcm63xx_i2s_dai = {

static const struct snd_soc_component_driver bcm63xx_i2s_component = {
	.name = "bcm63xx",
	.legacy_dai_naming = 1,
};

static int bcm63xx_i2s_dev_probe(struct platform_device *pdev)
+4 −3
Original line number Diff line number Diff line
@@ -1204,6 +1204,7 @@ static const struct snd_soc_component_driver cygnus_ssp_component = {
	.name			= "cygnus-audio",
	.suspend		= cygnus_ssp_suspend,
	.resume			= cygnus_ssp_resume,
	.legacy_dai_naming	= 1,
};

/*