From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
"Bard Liao" <yung-chuan.liao@linux.intel.com>,
Jaroslav Kysela <perex@perex.cz>,
"Kai Vehmanen" <kai.vehmanen@linux.intel.com>,
Kiseok Jo <kiseok.jo@irondevice.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
"Peter Ujfalusi" <peter.ujfalusi@linux.intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
Ranjani Sridharan <ranjani.sridharan@linux.intel.com>,
Takashi Iwai <tiwai@suse.com>,
"Vijendar Mukunda" <Vijendar.Mukunda@amd.com>,
Benjamin Bara <benjamin.bara@skidata.com>,
<linux-sound@vger.kernel.org>
Subject: Re: [PATCH 4/7] ASoC: intel: use snd_soc_dapm_to_component()
Date: Wed, 9 Apr 2025 10:03:31 +0200 [thread overview]
Message-ID: <062c88bf-d4d7-4fa8-bc2d-eea9de45fe3e@intel.com> (raw)
In-Reply-To: <87jz7u9h4c.wl-kuninori.morimoto.gx@renesas.com>
On 2025-04-09 4:57 AM, Kuninori Morimoto wrote:
> We can use snd_soc_dapm_to_component(). Let's use it
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
I'd appreciate "ASoC: Intel: avs:" prefix in the title. Keeps it
coherent with other avs-driver changes.
> ---
> sound/soc/intel/avs/control.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/intel/avs/control.c b/sound/soc/intel/avs/control.c
> index 2e01dc75a15a..1af270ef0c8b 100644
> --- a/sound/soc/intel/avs/control.c
> +++ b/sound/soc/intel/avs/control.c
> @@ -19,7 +19,7 @@ static struct avs_dev *avs_get_kcontrol_adev(struct snd_kcontrol *kcontrol)
>
> w = snd_soc_dapm_kcontrol_widget(kcontrol);
>
> - return to_avs_dev(w->dapm->component->dev);
> + return to_avs_dev(snd_soc_dapm_to_component(w->dapm)->dev);
> }
>
> static struct avs_path_module *avs_get_volume_module(struct avs_dev *adev, u32 id)
next prev parent reply other threads:[~2025-04-09 8:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-09 2:56 [PATCH 0/7] ASoC: use snd_soc_dapm_to_component() Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 1/7] ASoC: soc-component: use dapm->component instead of container_of() Kuninori Morimoto
2025-04-09 7:59 ` Cezary Rojewski
2025-04-10 0:19 ` Kuninori Morimoto
2025-04-11 2:04 ` Kuninori Morimoto
2025-04-11 9:07 ` Cezary Rojewski
2025-04-13 23:39 ` Kuninori Morimoto
2025-04-14 2:01 ` Kuninori Morimoto
2025-04-17 9:34 ` Cezary Rojewski
2025-04-17 23:00 ` Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 2/7] ASoC: amd: use snd_soc_dapm_to_component() Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 3/7] ASoC: sma1307: " Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 4/7] ASoC: intel: " Kuninori Morimoto
2025-04-09 8:03 ` Cezary Rojewski [this message]
2025-04-10 0:20 ` Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 5/7] ASoC: mediatek: " Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 6/7] ASoC: soc-dapm: " Kuninori Morimoto
2025-04-09 2:57 ` [PATCH 7/7] ASoC: soc-topology: " 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=062c88bf-d4d7-4fa8-bc2d-eea9de45fe3e@intel.com \
--to=cezary.rojewski@intel.com \
--cc=Vijendar.Mukunda@amd.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=benjamin.bara@skidata.com \
--cc=broonie@kernel.org \
--cc=kai.vehmanen@linux.intel.com \
--cc=kiseok.jo@irondevice.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=ranjani.sridharan@linux.intel.com \
--cc=tiwai@suse.com \
--cc=yung-chuan.liao@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