diff options
author | V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com> | 2023-07-13 18:27:07 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-17 06:15:35 +0100 |
commit | 1a74b21ce59f4343e8bf64ec4c20bcbbaea96c5f (patch) | |
tree | 80daf966c6eb101dd7b9060acaff9de37d53860c /sound/soc/sof/amd/acp-common.c | |
parent | 083912c240de0c5f797da0443f5a99e87b75fcb3 (diff) |
ASoC: SOF: amd: Add Probe functionality support for amd platforms.
This patch consist of probe client device registration,stream tag
and dma channel configuration for SOF firmware.
Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
Link: https://lore.kernel.org/r/20230713125709.418851-2-vsujithkumar.reddy@amd.corp-partner.google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/amd/acp-common.c')
-rw-r--r-- | sound/soc/sof/amd/acp-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/sof/amd/acp-common.c b/sound/soc/sof/amd/acp-common.c index df36b411a12e6..3a0c7688dcfe6 100644 --- a/sound/soc/sof/amd/acp-common.c +++ b/sound/soc/sof/amd/acp-common.c @@ -196,6 +196,10 @@ struct snd_sof_dsp_ops sof_acp_common_ops = { .dbg_dump = amd_sof_dump, .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem, .dsp_arch_ops = &sof_xtensa_arch_ops, + + /* probe client device registation */ + .register_ipc_clients = acp_probes_register, + .unregister_ipc_clients = acp_probes_unregister, }; EXPORT_SYMBOL_NS(sof_acp_common_ops, SND_SOC_SOF_AMD_COMMON); |