Commit f0383ade authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SOF: imx: Convert to use the generic set_stream_data_offset ops

Switch from the IPC dependent ipc_pcm_params() ops to the IPC neutral
set_stream_data_offset().
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Reviewed-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220310042720.976809-10-ranjani.sridharan@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent cf73363e
...@@ -509,7 +509,7 @@ static const struct snd_sof_dsp_ops sof_imx8_ops = { ...@@ -509,7 +509,7 @@ static const struct snd_sof_dsp_ops sof_imx8_ops = {
.get_window_offset = imx8_get_window_offset, .get_window_offset = imx8_get_window_offset,
.ipc_msg_data = sof_ipc_msg_data, .ipc_msg_data = sof_ipc_msg_data,
.ipc_pcm_params = sof_ipc_pcm_params, .set_stream_data_offset = sof_set_stream_data_offset,
/* module loading */ /* module loading */
.load_module = snd_sof_parse_module_memcpy, .load_module = snd_sof_parse_module_memcpy,
...@@ -572,7 +572,7 @@ static const struct snd_sof_dsp_ops sof_imx8x_ops = { ...@@ -572,7 +572,7 @@ static const struct snd_sof_dsp_ops sof_imx8x_ops = {
.get_window_offset = imx8_get_window_offset, .get_window_offset = imx8_get_window_offset,
.ipc_msg_data = sof_ipc_msg_data, .ipc_msg_data = sof_ipc_msg_data,
.ipc_pcm_params = sof_ipc_pcm_params, .set_stream_data_offset = sof_set_stream_data_offset,
/* module loading */ /* module loading */
.load_module = snd_sof_parse_module_memcpy, .load_module = snd_sof_parse_module_memcpy,
......
...@@ -435,7 +435,7 @@ static const struct snd_sof_dsp_ops sof_imx8m_ops = { ...@@ -435,7 +435,7 @@ static const struct snd_sof_dsp_ops sof_imx8m_ops = {
.get_window_offset = imx8m_get_window_offset, .get_window_offset = imx8m_get_window_offset,
.ipc_msg_data = sof_ipc_msg_data, .ipc_msg_data = sof_ipc_msg_data,
.ipc_pcm_params = sof_ipc_pcm_params, .set_stream_data_offset = sof_set_stream_data_offset,
/* module loading */ /* module loading */
.load_module = snd_sof_parse_module_memcpy, .load_module = snd_sof_parse_module_memcpy,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment