From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Shengjiu Wang <shengjiu.wang@nxp.com>,
Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
Mihai Serban <mihai.serban@nxp.com>,
Junichi Wakasugi <wakasugi.jb@om.asahi-kasei.co.jp>,
Fabio Estevam <fabio.estevam@nxp.com>,
Daniel Baluta <daniel.baluta@nxp.com>,
Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Harsha Priya <harshapriya.n@intel.com>,
Naveen Manohar <naveen.m@intel.com>,
Alex Deucher <alexander.deucher@amd.com>,
Akshu Agrawal <akshu.agrawal@amd.com>,
Dylan Reid <dgreid@chromium.org>
Subject: [PATCH 2/4] ASoC: amd: acp-da7219-max98357: replace codec to component
Date: Mon, 19 Feb 2018 00:50:48 +0000 [thread overview]
Message-ID: <87371xpzx0.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <87606tpzzn.wl%kuninori.morimoto.gx@renesas.com>
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Now we can replace Codec to Component. Let's do it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
sound/soc/amd/acp-da7219-max98357a.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index e51a878..bbe0f10 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -47,8 +47,8 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
{
int ret;
struct snd_soc_card *card = rtd->card;
- struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dai *codec_dai = rtd->codec_dai;
+ struct snd_soc_component *component = codec_dai->component;
dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name);
@@ -76,7 +76,7 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
return ret;
}
- da7219_aad_jack_det(codec, &cz_jack);
+ da7219_aad_jack_det(component, &cz_jack);
return 0;
}
--
1.9.1
next prev parent reply other threads:[~2018-02-19 0:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 0:47 [PATCH 0/4] ASoC: missing " Kuninori Morimoto
2018-02-19 0:50 ` [PATCH 1/4] ASoC: intel: kbl_da7219_max98357: " Kuninori Morimoto
2018-02-19 12:19 ` Applied "ASoC: intel: kbl_da7219_max98357: replace codec to component" to the asoc tree Mark Brown
2018-02-19 0:50 ` Kuninori Morimoto [this message]
2018-02-19 12:19 ` Applied "ASoC: amd: acp-da7219-max98357: " Mark Brown
2018-02-19 0:51 ` [PATCH 3/4] ASoC: ak4458: replace codec to component Kuninori Morimoto
2018-02-19 0:51 ` [PATCH 4/4] ASoC: ak5558: " Kuninori Morimoto
2018-02-19 3:08 ` [PATCH 0/4] ASoC: missing " Kuninori Morimoto
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=87371xpzx0.wl%kuninori.morimoto.gx@renesas.com \
--to=kuninori.morimoto.gx@renesas.com \
--cc=akshu.agrawal@amd.com \
--cc=alexander.deucher@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=cosmin.samoila@nxp.com \
--cc=daniel.baluta@nxp.com \
--cc=dgreid@chromium.org \
--cc=fabio.estevam@nxp.com \
--cc=harshapriya.n@intel.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mihai.serban@nxp.com \
--cc=naveen.m@intel.com \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=sathyanarayana.nujella@intel.com \
--cc=shengjiu.wang@nxp.com \
--cc=tiwai@suse.com \
--cc=wakasugi.jb@om.asahi-kasei.co.jp \
/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
all inboxes | Powered by JetHome®