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

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


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

static const struct snd_soc_component_driver fsl_aud2htx_component = {
	.name			= "fsl-aud2htx",
	.legacy_dai_naming	= 1,
};

static const struct reg_default fsl_aud2htx_reg_defaults[] = {
+4 −3
Original line number Diff line number Diff line
@@ -1575,6 +1575,7 @@ static const struct snd_soc_component_driver fsl_easrc_component = {
	.name			= "fsl-easrc-dai",
	.controls		= fsl_easrc_snd_controls,
	.num_controls		= ARRAY_SIZE(fsl_easrc_snd_controls),
	.legacy_dai_naming	= 1,
};

static const struct reg_default fsl_easrc_reg_defaults[] = {
+2 −1
Original line number Diff line number Diff line
@@ -825,6 +825,7 @@ static struct snd_soc_dai_driver fsl_esai_dai = {

static const struct snd_soc_component_driver fsl_esai_component = {
	.name			= "fsl-esai",
	.legacy_dai_naming	= 1,
};

static const struct reg_default fsl_esai_reg_defaults[] = {
+2 −1
Original line number Diff line number Diff line
@@ -136,6 +136,7 @@ static struct snd_soc_dai_driver fsl_rpmsg_dai = {

static const struct snd_soc_component_driver fsl_component = {
	.name			= "fsl-rpmsg",
	.legacy_dai_naming	= 1,
};

static const struct fsl_rpmsg_soc_data imx7ulp_data = {
+2 −1
Original line number Diff line number Diff line
@@ -768,6 +768,7 @@ static struct snd_soc_dai_driver fsl_sai_dai_template = {

static const struct snd_soc_component_driver fsl_component = {
	.name			= "fsl-sai",
	.legacy_dai_naming	= 1,
};

static struct reg_default fsl_sai_reg_defaults_ofs0[] = {
Loading