diff options
| author | V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com> | 2023-03-08 14:15:08 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-03-08 15:05:43 +0000 |
| commit | df6380dca2727bca62efdf332eaadd2e225f7c4d (patch) | |
| tree | c5831ef64de9387a5ffbe39c88106df597ae4a03 /sound/soc/sof/amd/acp.h | |
| parent | ASoC: SOF: ipc4: Add core_id support from topology (diff) | |
| download | linux-df6380dca2727bca62efdf332eaadd2e225f7c4d.tar.gz linux-df6380dca2727bca62efdf332eaadd2e225f7c4d.zip | |
ASoC: SOF: amd: Add pcm pointer callback for amd platforms.
Add pcm pointer callback for amd platforms to read host position
update from stream box.
Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
Link: https://lore.kernel.org/r/20230308084509.1496256-2-Vsujithkumar.Reddy@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/amd/acp.h')
| -rw-r--r-- | sound/soc/sof/amd/acp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/amd/acp.h b/sound/soc/sof/amd/acp.h index 39165ebf684b..acad57947616 100644 --- a/sound/soc/sof/amd/acp.h +++ b/sound/soc/sof/amd/acp.h @@ -238,6 +238,8 @@ int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params); +snd_pcm_uframes_t acp_pcm_pointer(struct snd_sof_dev *sdev, + struct snd_pcm_substream *substream); extern struct snd_sof_dsp_ops sof_acp_common_ops; |
