From: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
To: <broonie@kernel.org>, <vkoul@kernel.org>
Cc: <alsa-devel@alsa-project.org>, <pierre-louis.bossart@linux.dev>,
<yung-chuan.liao@linux.intel.com>, <lgirdwood@gmail.com>,
<perex@perex.cz>, <tiwai@suse.com>,
<Basavaraj.Hiregoudar@amd.com>, <Sunil-kumar.Dommati@amd.com>,
<venkataprasad.potturu@amd.com>, <linux-sound@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
"Vijendar Mukunda" <Vijendar.Mukunda@amd.com>
Subject: [PATCH 3/4] ASoC: SOF: amd: pass acp_rev as soundwire resource data
Date: Tue, 24 Sep 2024 13:48:45 +0530 [thread overview]
Message-ID: <20240924081846.1834612-4-Vijendar.Mukunda@amd.com> (raw)
In-Reply-To: <20240924081846.1834612-1-Vijendar.Mukunda@amd.com>
Pass acp_rev(ACP pci revision id) as soundwire resource data
for SoundWire controller probe function.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
sound/soc/sof/amd/acp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/sof/amd/acp.c b/sound/soc/sof/amd/acp.c
index d579c3849392..f967e8498798 100644
--- a/sound/soc/sof/amd/acp.c
+++ b/sound/soc/sof/amd/acp.c
@@ -683,6 +683,7 @@ static int amd_sof_sdw_probe(struct snd_sof_dev *sdev)
sdw_res.count = acp_data->info.count;
sdw_res.link_mask = acp_data->info.link_mask;
sdw_res.mmio_base = sdev->bar[ACP_DSP_BAR];
+ sdw_res.acp_rev = acp_data->pci_rev;
ret = sdw_amd_probe(&sdw_res, &acp_data->sdw);
if (ret)
--
2.34.1
next prev parent reply other threads:[~2024-09-24 8:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 8:18 [PATCH 0/4] refactor amd soundwire manager driver for acp 6.3 platform Vijendar Mukunda
2024-09-24 8:18 ` [PATCH 1/4] soundwire: amd: pass acp pci revision id as resource data Vijendar Mukunda
2024-09-24 8:18 ` [PATCH 2/4] soundwire: amd: refactor existing code for acp 6.3 platform Vijendar Mukunda
2024-09-24 8:18 ` Vijendar Mukunda [this message]
2024-09-24 9:16 ` [PATCH 3/4] ASoC: SOF: amd: pass acp_rev as soundwire resource data Mark Brown
2024-09-24 8:18 ` [PATCH 4/4] ASoC: amd: ps: pass acp pci revision id " Vijendar Mukunda
2024-09-24 9:17 ` Mark Brown
2024-10-03 8:08 ` [PATCH 0/4] refactor amd soundwire manager driver for acp 6.3 platform Vinod Koul
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=20240924081846.1834612-4-Vijendar.Mukunda@amd.com \
--to=vijendar.mukunda@amd.com \
--cc=Basavaraj.Hiregoudar@amd.com \
--cc=Sunil-kumar.Dommati@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.dev \
--cc=tiwai@suse.com \
--cc=venkataprasad.potturu@amd.com \
--cc=vkoul@kernel.org \
--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
all inboxes | Powered by JetHome®