diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2024-03-21 15:08:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-25 16:35:59 +0000 |
commit | 07007b8ac42cffc23043d00e56b0f67a75dc4b22 (patch) | |
tree | ce8738cfa53e18c100e4b1504ce7cb65e36cb91a /sound/soc/sof/sof-priv.h | |
parent | 4ab6c38c664442c1fc9911eb3c5c6953d3dbcca5 (diff) | |
download | linux-stable-07007b8ac42cffc23043d00e56b0f67a75dc4b22.tar.gz linux-stable-07007b8ac42cffc23043d00e56b0f67a75dc4b22.tar.bz2 linux-stable-07007b8ac42cffc23043d00e56b0f67a75dc4b22.zip |
ASoC: SOF: Remove the get_stream_position callback
The get_stream_position has been replaced by get_dai_frame_counter and all
related code can be dropped form the core.
Cc: stable@vger.kernel.org # 6.8
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240321130814.4412-11-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 91043f177dfa..d3c436f82604 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -262,15 +262,6 @@ struct snd_sof_dsp_ops { int (*pcm_ack)(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream); /* optional */ /* - * optional callback to retrieve the link DMA position for the substream - * when the position is not reported in the shared SRAM windows but - * instead from a host-accessible hardware counter. - */ - u64 (*get_stream_position)(struct snd_sof_dev *sdev, - struct snd_soc_component *component, - struct snd_pcm_substream *substream); /* optional */ - - /* * optional callback to retrieve the number of frames left/arrived from/to * the DSP on the DAI side (link/codec/DMIC/etc). * |