From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: <broonie@kernel.org>
Cc: <lgirdwood@gmail.com>, <kuninori.morimoto.gx@renesas.com>,
<mripard@kernel.org>, <airlied@linux.ie>, <daniel@ffwll.ch>,
<vkoul@kernel.org>, <nicolas.ferre@microchip.com>,
<nsaenz@kernel.org>, <shawnguo@kernel.org>, <linux-imx@nxp.com>,
<cezary.rojewski@intel.com>,
<pierre-louis.bossart@linux.intel.com>,
<linux-mips@vger.kernel.org>, <linux-amlogic@lists.infradead.org>,
<daniel@zonque.org>, <srinivas.kandagatla@linaro.org>,
<linux-rockchip@lists.infradead.org>, <krzk@kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-sunxi@lists.linux.dev>, <linux-tegra@vger.kernel.org>,
<linux-omap@vger.kernel.org>, <linux-xtensa@linux-xtensa.org>,
<peter.ujfalusi@gmail.com>, <jarkko.nikula@bitmer.com>,
<heiko@sntech.de>, <jbrunet@baylibre.com>,
<kernel@pengutronix.de>, <alsa-devel@alsa-project.org>,
<patches@opensource.cirrus.com>,
<dri-devel@lists.freedesktop.org>,
<linux-rpi-kernel@lists.infradead.org>
Subject: [PATCH 20/96] ASoC: fsl: Migrate to new style legacy DAI naming flag
Date: Thu, 16 Jun 2022 15:33:13 +0100 [thread overview]
Message-ID: <20220616143429.1324494-21-ckeepax@opensource.cirrus.com> (raw)
In-Reply-To: <20220616143429.1324494-1-ckeepax@opensource.cirrus.com>
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>
---
sound/soc/fsl/fsl_aud2htx.c | 3 ++-
sound/soc/fsl/fsl_easrc.c | 7 ++++---
sound/soc/fsl/fsl_esai.c | 3 ++-
sound/soc/fsl/fsl_rpmsg.c | 3 ++-
sound/soc/fsl/fsl_sai.c | 3 ++-
sound/soc/fsl/fsl_spdif.c | 3 ++-
sound/soc/fsl/fsl_ssi.c | 1 +
sound/soc/fsl/fsl_xcvr.c | 3 ++-
sound/soc/fsl/mpc5200_psc_i2s.c | 3 ++-
9 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/sound/soc/fsl/fsl_aud2htx.c b/sound/soc/fsl/fsl_aud2htx.c
index 422922146f2a5..873295f59ad7b 100644
--- a/sound/soc/fsl/fsl_aud2htx.c
+++ b/sound/soc/fsl/fsl_aud2htx.c
@@ -103,7 +103,8 @@ static struct snd_soc_dai_driver fsl_aud2htx_dai = {
};
static const struct snd_soc_component_driver fsl_aud2htx_component = {
- .name = "fsl-aud2htx",
+ .name = "fsl-aud2htx",
+ .legacy_dai_naming = 1,
};
static const struct reg_default fsl_aud2htx_reg_defaults[] = {
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl/fsl_easrc.c
index be14f84796cb4..ea96b0fb6b202 100644
--- a/sound/soc/fsl/fsl_easrc.c
+++ b/sound/soc/fsl/fsl_easrc.c
@@ -1572,9 +1572,10 @@ static struct snd_soc_dai_driver fsl_easrc_dai = {
};
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),
+ .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[] = {
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c
index 75f7807df29af..5c21fc490fce1 100644
--- a/sound/soc/fsl/fsl_esai.c
+++ b/sound/soc/fsl/fsl_esai.c
@@ -824,7 +824,8 @@ static struct snd_soc_dai_driver fsl_esai_dai = {
};
static const struct snd_soc_component_driver fsl_esai_component = {
- .name = "fsl-esai",
+ .name = "fsl-esai",
+ .legacy_dai_naming = 1,
};
static const struct reg_default fsl_esai_reg_defaults[] = {
diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c
index 19fd312508839..bf94838bdbefe 100644
--- a/sound/soc/fsl/fsl_rpmsg.c
+++ b/sound/soc/fsl/fsl_rpmsg.c
@@ -135,7 +135,8 @@ static struct snd_soc_dai_driver fsl_rpmsg_dai = {
};
static const struct snd_soc_component_driver fsl_component = {
- .name = "fsl-rpmsg",
+ .name = "fsl-rpmsg",
+ .legacy_dai_naming = 1,
};
static const struct fsl_rpmsg_soc_data imx7ulp_data = {
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 4f5bd9597c746..68b5b488deebd 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -767,7 +767,8 @@ static struct snd_soc_dai_driver fsl_sai_dai_template = {
};
static const struct snd_soc_component_driver fsl_component = {
- .name = "fsl-sai",
+ .name = "fsl-sai",
+ .legacy_dai_naming = 1,
};
static struct reg_default fsl_sai_reg_defaults_ofs0[] = {
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index 42d11aca38a10..0504431792cf9 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -1237,7 +1237,8 @@ static struct snd_soc_dai_driver fsl_spdif_dai = {
};
static const struct snd_soc_component_driver fsl_spdif_component = {
- .name = "fsl-spdif",
+ .name = "fsl-spdif",
+ .legacy_dai_naming = 1,
};
/* FSL SPDIF REGMAP */
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index 7dd0c48cd9ae4..c9e0e31d5b34d 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -1182,6 +1182,7 @@ static struct snd_soc_dai_driver fsl_ssi_dai_template = {
static const struct snd_soc_component_driver fsl_ssi_component = {
.name = "fsl-ssi",
+ .legacy_dai_naming = 1,
};
static struct snd_soc_dai_driver fsl_ssi_ac97_dai = {
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 55e640cba87d0..c043efe4548d1 100644
--- a/sound/soc/fsl/fsl_xcvr.c
+++ b/sound/soc/fsl/fsl_xcvr.c
@@ -911,7 +911,8 @@ static struct snd_soc_dai_driver fsl_xcvr_dai = {
};
static const struct snd_soc_component_driver fsl_xcvr_comp = {
- .name = "fsl-xcvr-dai",
+ .name = "fsl-xcvr-dai",
+ .legacy_dai_naming = 1,
};
static const struct reg_default fsl_xcvr_reg_defaults[] = {
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c
index 3149d59ae968d..73f3e61f208a7 100644
--- a/sound/soc/fsl/mpc5200_psc_i2s.c
+++ b/sound/soc/fsl/mpc5200_psc_i2s.c
@@ -148,7 +148,8 @@ static struct snd_soc_dai_driver psc_i2s_dai[] = {{
} };
static const struct snd_soc_component_driver psc_i2s_component = {
- .name = "mpc5200-i2s",
+ .name = "mpc5200-i2s",
+ .legacy_dai_naming = 1,
};
/* ---------------------------------------------------------------------
--
2.30.2
next prev parent reply other threads:[~2022-06-16 14:35 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 14:32 [PATCH 00/96] Refactor non_legacy_dai_naming flag Charles Keepax
2022-06-16 14:32 ` [PATCH 01/96] ASoC: soc-component: Add legacy_dai_naming flag Charles Keepax
2022-06-16 14:32 ` [PATCH 02/96] soundwire: intel: Migrate to new style legacy DAI naming flag Charles Keepax
2022-06-16 14:32 ` [PATCH 03/96] drm/vc4: " Charles Keepax
2022-06-17 7:25 ` Maxime Ripard
2022-06-16 14:32 ` [PATCH 04/96] ASoC: img: " Charles Keepax
2022-06-16 14:32 ` [PATCH 05/96] ASoC: spear: " Charles Keepax
2022-06-16 14:32 ` [PATCH 06/96] ASoC: jz4740-i2c: " Charles Keepax
2022-06-16 14:33 ` [PATCH 07/96] ASoC: ep93xx: " Charles Keepax
2022-06-16 14:33 ` [PATCH 08/96] ASoC: stm32: " Charles Keepax
2022-06-16 14:33 ` [PATCH 09/96] ASoC: bcm: " Charles Keepax
2022-06-16 14:33 ` [PATCH 10/96] ASoC: sh: " Charles Keepax
2022-06-16 14:33 ` [PATCH 11/96] ASoC: tegra: " Charles Keepax
2022-06-16 14:33 ` [PATCH 12/96] ASoC: hisilicon: " Charles Keepax
2022-06-16 14:33 ` [PATCH 13/96] ASoC: xilinx: " Charles Keepax
2022-06-16 14:33 ` [PATCH 14/96] ASoC: sunxi: " Charles Keepax
2022-06-16 14:33 ` [PATCH 15/96] ASoC: Intel: " Charles Keepax
2022-06-16 14:33 ` [PATCH 16/96] ASoC: meson: " Charles Keepax
2022-06-16 14:33 ` [PATCH 17/96] ASoC: sti-uniperf: " Charles Keepax
2022-06-16 14:33 ` [PATCH 18/96] ASoC: amd: " Charles Keepax
2022-06-16 14:33 ` [PATCH 19/96] ASoC: atmel: " Charles Keepax
2022-06-16 14:33 ` Charles Keepax [this message]
2022-06-16 14:33 ` [PATCH 21/96] ASoC: xtensa: " Charles Keepax
2022-06-16 14:33 ` [PATCH 22/96] ASoC: adi: " Charles Keepax
2022-06-16 14:33 ` [PATCH 23/96] ASoC: dwc: " Charles Keepax
2022-06-16 14:33 ` [PATCH 24/96] ASoC: qcom: " Charles Keepax
2022-06-16 14:33 ` [PATCH 25/96] ASoC: test-component: " Charles Keepax
2022-06-16 14:33 ` [PATCH 26/96] ASoC: rockchip: " Charles Keepax
2022-06-16 14:33 ` [PATCH 27/96] ASoC: au1x: " Charles Keepax
2022-06-23 1:59 ` kernel test robot
2022-06-23 9:39 ` Charles Keepax
2022-06-23 11:02 ` Mark Brown
2022-06-16 14:33 ` [PATCH 28/96] ASoC: pxa: " Charles Keepax
2022-06-16 14:33 ` [PATCH 29/96] ASoC: sof: " Charles Keepax
2022-06-16 14:33 ` [PATCH 30/96] ASoC: ux500: " Charles Keepax
2022-06-16 14:33 ` [PATCH 31/96] ASoC: ti: " Charles Keepax
2022-06-16 14:33 ` [PATCH 32/96] ASoC: mxs-saif: " Charles Keepax
2022-06-16 14:33 ` [PATCH 33/96] ASoC: samsung: " Charles Keepax
2022-06-16 14:33 ` [PATCH 34/96] ASoC: core: Switch core to new " Charles Keepax
2022-06-16 14:33 ` [PATCH 35/96] media: TDA1997x: Remove now redundant non_legacy_dai_naming flag Charles Keepax
2022-06-16 14:33 ` [PATCH 36/96] ASoC: fsl: " Charles Keepax
2022-06-16 14:33 ` [PATCH 37/96] ASoC: meson: " Charles Keepax
2022-06-16 14:33 ` [PATCH 38/96] ASoC: pistachio: " Charles Keepax
2022-06-16 14:33 ` [PATCH 39/96] ASoC: samsung: " Charles Keepax
2022-06-16 14:33 ` [PATCH 40/96] ASoC: soc-utils: " Charles Keepax
2022-06-16 14:33 ` [PATCH 41/96] ASoC: sunxi: " Charles Keepax
2022-06-16 14:33 ` [PATCH 42/96] ASoC: tegra: " Charles Keepax
2022-06-16 14:33 ` [PATCH 43/96] ASoC: test-component: " Charles Keepax
2022-06-16 14:33 ` [PATCH 44/96] ASoC: topology: KUnit: " Charles Keepax
2022-06-16 14:33 ` [PATCH 45/96] ASoC: uniphier: " Charles Keepax
2022-06-16 14:33 ` [PATCH 46/96] ASoC: ad*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 47/96] ASoC: ak*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 48/96] ASoC: alc*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 49/96] ASoC: cs*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 50/96] ASoC: da*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 51/96] ASoC: es*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 52/96] ASoC: max*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 53/96] ASoC: msm*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 54/96] ASoC: nau*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 55/96] ASoC: pcm*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 56/96] ASoC: rt*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 57/96] ASoC: spdif: " Charles Keepax
2022-06-16 14:33 ` [PATCH 58/96] ASoC: ssm*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 59/96] ASoC: sta*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 60/96] ASoC: tas*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 61/96] ASoC: tfa*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 62/96] ASoC: tlv320*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 63/96] ASoC: twl*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 64/96] ASoC: uda*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 65/96] ASoC: wm*: " Charles Keepax
2022-06-16 14:33 ` [PATCH 66/96] ASoC: 88pm860x: " Charles Keepax
2022-06-16 14:34 ` [PATCH 67/96] ASoC: ab8500: " Charles Keepax
2022-06-16 14:34 ` [PATCH 68/96] ASoC: ac97: " Charles Keepax
2022-06-16 14:34 ` [PATCH 69/96] ASoC: ads117x: " Charles Keepax
2022-06-16 14:34 ` [PATCH 70/96] ASoC: bd28623: " Charles Keepax
2022-06-16 14:34 ` [PATCH 71/96] ASoC: bt-sco: " Charles Keepax
2022-06-16 14:34 ` [PATCH 72/96] ASoC: cpcap: " Charles Keepax
2022-06-16 14:34 ` [PATCH 73/96] ASoC: cq93vc: " Charles Keepax
2022-06-16 14:34 ` [PATCH 74/96] ASoC: cx20442: " Charles Keepax
2022-06-16 14:34 ` [PATCH 75/96] ASoC: dmic: " Charles Keepax
2022-06-16 14:34 ` [PATCH 76/96] ASoC: gtm601: " Charles Keepax
2022-06-16 14:34 ` [PATCH 77/96] ASoC: hdac_hdmi: " Charles Keepax
2022-06-16 14:34 ` [PATCH 78/96] ASoC: hdmi-codec: " Charles Keepax
2022-06-16 14:34 ` [PATCH 79/96] ASoC: ics43432: " Charles Keepax
2022-06-16 14:34 ` [PATCH 80/96] ASoC: inno_rk3036: " Charles Keepax
2022-06-16 14:34 ` [PATCH 81/96] ASoC: Intel: avs: " Charles Keepax
2022-06-16 14:34 ` [PATCH 82/96] ASoC: isabelle: " Charles Keepax
2022-06-16 14:34 ` [PATCH 83/96] ASoC: jz4740: " Charles Keepax
2022-06-16 14:34 ` [PATCH 84/96] ASoC: lm49453: " Charles Keepax
2022-06-16 14:34 ` [PATCH 85/96] ASoC: lochnagar: " Charles Keepax
2022-06-16 14:34 ` [PATCH 86/96] ASoC: mc13783: " Charles Keepax
2022-06-16 14:34 ` [PATCH 87/96] ASoC: ml26124: " Charles Keepax
2022-06-16 14:34 ` [PATCH 88/96] ASoC: rk817: " Charles Keepax
2022-06-16 14:34 ` [PATCH 89/96] ASoC: sgtl5000: " Charles Keepax
2022-06-16 14:34 ` [PATCH 90/96] ASoC: si476x: " Charles Keepax
2022-06-16 14:34 ` [PATCH 91/96] ASoC: stac9766: " Charles Keepax
2022-06-16 14:34 ` [PATCH 92/96] ASoC: sti-sas: " Charles Keepax
2022-06-16 14:34 ` [PATCH 93/96] ASoC: tscs42xx: " Charles Keepax
2022-06-16 14:34 ` [PATCH 94/96] ASoC: wl1273: " Charles Keepax
2022-06-16 14:34 ` [PATCH 95/96] ASoC: zl38060: " Charles Keepax
2022-06-16 14:34 ` [PATCH 96/96] ASoC: soc-component: Remove " Charles Keepax
2022-06-29 16:23 ` [PATCH 00/96] Refactor " Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220616143429.1324494-21-ckeepax@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=airlied@linux.ie \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=daniel@ffwll.ch \
--cc=daniel@zonque.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=jarkko.nikula@bitmer.com \
--cc=jbrunet@baylibre.com \
--cc=kernel@pengutronix.de \
--cc=krzk@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-mips@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux-tegra@vger.kernel.org \
--cc=linux-xtensa@linux-xtensa.org \
--cc=mripard@kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=nsaenz@kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=peter.ujfalusi@gmail.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=shawnguo@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).