Skip to content

Commit f0383ad

Browse files
ujfalusibroonie
authored andcommitted
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: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20220310042720.976809-10-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent cf73363 commit f0383ad

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/sof/imx/imx8.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ static const struct snd_sof_dsp_ops sof_imx8_ops = {
509509
.get_window_offset = imx8_get_window_offset,
510510

511511
.ipc_msg_data = sof_ipc_msg_data,
512-
.ipc_pcm_params = sof_ipc_pcm_params,
512+
.set_stream_data_offset = sof_set_stream_data_offset,
513513

514514
/* module loading */
515515
.load_module = snd_sof_parse_module_memcpy,
@@ -572,7 +572,7 @@ static const struct snd_sof_dsp_ops sof_imx8x_ops = {
572572
.get_window_offset = imx8_get_window_offset,
573573

574574
.ipc_msg_data = sof_ipc_msg_data,
575-
.ipc_pcm_params = sof_ipc_pcm_params,
575+
.set_stream_data_offset = sof_set_stream_data_offset,
576576

577577
/* module loading */
578578
.load_module = snd_sof_parse_module_memcpy,

sound/soc/sof/imx/imx8m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ static const struct snd_sof_dsp_ops sof_imx8m_ops = {
435435
.get_window_offset = imx8m_get_window_offset,
436436

437437
.ipc_msg_data = sof_ipc_msg_data,
438-
.ipc_pcm_params = sof_ipc_pcm_params,
438+
.set_stream_data_offset = sof_set_stream_data_offset,
439439

440440
/* module loading */
441441
.load_module = snd_sof_parse_module_memcpy,

0 commit comments

Comments
 (0)