From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Mark Brown <broonie@kernel.org>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [alsa-devel] [PATCH v2 14/15] ASoC: ti: rx51: use snd_soc_dai_link_component for codec_conf
Date: 13 Dec 2019 09:55:50 +0900 [thread overview]
Message-ID: <8736dp59ih.wl-kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <87mubx59la.wl-kuninori.morimoto.gx@renesas.com>
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
We can use snd_soc_dai_link_component to specify codec_conf.
Let's use it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
sound/soc/ti/rx51.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sound/soc/ti/rx51.c b/sound/soc/ti/rx51.c
index 588f680..fdb0dc8 100644
--- a/sound/soc/ti/rx51.c
+++ b/sound/soc/ti/rx51.c
@@ -328,11 +328,11 @@ static struct snd_soc_aux_dev rx51_aux_dev[] = {
static struct snd_soc_codec_conf rx51_codec_conf[] = {
{
- .dev_name = "tlv320aic3x-codec.2-0019",
+ .dlc = COMP_CODEC_CONF("tlv320aic3x-codec.2-0019"),
.name_prefix = "b",
},
{
- .dev_name = "tpa6130a2.2-0060",
+ .dlc = COMP_CODEC_CONF("tpa6130a2.2-0060"),
.name_prefix = "TPA6130A2",
},
};
@@ -397,8 +397,8 @@ static int rx51_soc_probe(struct platform_device *pdev)
}
rx51_aux_dev[0].dlc.name = NULL;
rx51_aux_dev[0].dlc.of_node = dai_node;
- rx51_codec_conf[0].dev_name = NULL;
- rx51_codec_conf[0].of_node = dai_node;
+ rx51_codec_conf[0].dlc.name = NULL;
+ rx51_codec_conf[0].dlc.of_node = dai_node;
dai_node = of_parse_phandle(np, "nokia,headphone-amplifier", 0);
if (!dai_node) {
@@ -407,8 +407,8 @@ static int rx51_soc_probe(struct platform_device *pdev)
}
rx51_aux_dev[1].dlc.name = NULL;
rx51_aux_dev[1].dlc.of_node = dai_node;
- rx51_codec_conf[1].dev_name = NULL;
- rx51_codec_conf[1].of_node = dai_node;
+ rx51_codec_conf[1].dlc.name = NULL;
+ rx51_codec_conf[1].dlc.of_node = dai_node;
}
pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL);
--
2.7.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2019-12-13 1:04 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-13 0:54 [alsa-devel] [PATCH v2 00/15] ASoC: soc-core cleanup step7 Kuninori Morimoto
2019-12-13 0:54 ` [alsa-devel] [PATCH v2 01/15] ASoC: soc-core: support snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: soc-core: support snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:54 ` [alsa-devel] [PATCH v2 02/15] ASoC: fsl: imx-audmix: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: fsl: imx-audmix: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:54 ` [alsa-devel] [PATCH v2 03/15] ASoC: intel: kbl_da7219_max98927: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: intel: kbl_da7219_max98927: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:54 ` [alsa-devel] [PATCH v2 04/15] ASoC: intel: kbl_rt5663_max98927: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: intel: kbl_rt5663_max98927: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 05/15] ASoC: intel: kbl_rt5663_rt5514_max98927: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: intel: kbl_rt5663_rt5514_max98927: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 06/15] ASoC: intel: skl_nau88l25_ssm4567: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: intel: skl_nau88l25_ssm4567: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 07/15] ASoC: mediatek: mt8173-rt5650-rt5514: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: mediatek: mt8173-rt5650-rt5514: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 08/15] ASoC: mediatek: mt8173-rt5650-rt5676: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: mediatek: mt8173-rt5650-rt5676: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 09/15] ASoC: mediatek: mt8183-da7219-max98357: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: mediatek: mt8183-da7219-max98357: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 10/15] ASoC: samsung: bells: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: samsung: bells: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 11/15] ASoC: samsung: lowland: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: samsung: lowland: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 12/15] ASoC: samsung: neo1973_wm8753: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: samsung: neo1973_wm8753: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 13/15] ASoC: samsung: speyside: use snd_soc_dai_link_component for codec_conf Kuninori Morimoto
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: samsung: speyside: use snd_soc_dai_link_component for codec_conf" to the asoc tree Mark Brown
2019-12-13 0:55 ` Kuninori Morimoto [this message]
2019-12-16 12:05 ` [alsa-devel] Applied "ASoC: ti: rx51: " Mark Brown
2019-12-13 0:55 ` [alsa-devel] [PATCH v2 15/15] ASoC: soc-core: remove legacy style of codec_conf Kuninori Morimoto
2019-12-16 12:04 ` [alsa-devel] Applied "ASoC: soc-core: remove legacy style of codec_conf" to the asoc tree Mark Brown
2019-12-13 3:49 ` [alsa-devel] [PATCH v2 00/15] ASoC: soc-core cleanup step7 Pierre-Louis Bossart
2019-12-13 17:22 ` Sridharan, Ranjani
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=8736dp59ih.wl-kuninori.morimoto.gx@renesas.com \
--to=kuninori.morimoto.gx@renesas.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=pierre-louis.bossart@linux.intel.com \
/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).