ASoC: SOF: Intel: hda-common-ops: Do not set the get_stream_position callback
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 21 Mar 2024 13:08:06 +0000 (15:08 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 16:35:58 +0000 (16:35 +0000)
The get_stream_position has been replaced by get_dai_frame_counter, it
should not be set to allow it to be dropped from core code.

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-10-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-common-ops.c

index 4d7ea18604eeedd335335597e3ca25be051a3b92..d71bb66b9991164cdb8b0ed000e461d9e3a0719c 100644 (file)
@@ -57,7 +57,6 @@ struct snd_sof_dsp_ops sof_hda_common_ops = {
        .pcm_pointer    = hda_dsp_pcm_pointer,
        .pcm_ack        = hda_dsp_pcm_ack,
 
-       .get_stream_position = hda_dsp_get_stream_llp,
        .get_dai_frame_counter = hda_dsp_get_stream_llp,
        .get_host_byte_counter = hda_dsp_get_stream_ldp,