Peter Ujfalusi fd6f6a0632
ASoC: SOF: Intel: Set the dai/host get frame/byte counter callbacks
Add implementation for reading the LDP (Linear DMA Position) to be used as
get_host_byte_counter().
The LDP is counting the number of bytes moved between the DSP and host
memory.

Set the get_dai_frame_counter to hda_dsp_get_stream_llp, which is counting
the frames on the link side of the DSP.

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-8-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-03-25 16:35:57 +00:00
..
2024-03-21 14:07:27 +01:00
2023-10-23 19:38:22 +01:00
2024-03-13 18:22:15 +00:00
2024-03-13 18:22:15 +00:00
2024-01-16 17:37:17 +01:00
2024-03-11 16:18:47 +01:00
2024-03-13 18:22:15 +00:00
2024-03-13 18:22:15 +00:00
2023-10-09 13:13:59 +01:00
2024-01-22 21:08:17 +00:00
2024-01-08 08:18:02 +01:00