diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-03-10 05:27:20 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-11 14:41:09 +0100 |
commit | 00f19253633710877880ad062d6cee3c13deb9a5 (patch) | |
tree | 324d1f79c734fe081f150b54e6db5084ba680bbf /sound/soc/sof/pcm.c | |
parent | ASoC: SOF: imx: Convert to use the generic set_stream_data_offset ops (diff) | |
download | linux-00f19253633710877880ad062d6cee3c13deb9a5.tar.xz linux-00f19253633710877880ad062d6cee3c13deb9a5.zip |
ASoC: SOF: Remove ipc_pcm_params() ops
All users have been converted to use the IPC agnostic
set_stream_data_offsett()
Remove all code related to the old API.
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-11-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/pcm.c')
-rw-r--r-- | sound/soc/sof/pcm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/sof/pcm.c b/sound/soc/sof/pcm.c index 150f9ac872c6..1661b0bc6f12 100644 --- a/sound/soc/sof/pcm.c +++ b/sound/soc/sof/pcm.c @@ -269,13 +269,6 @@ static int sof_pcm_hw_params(struct snd_soc_component *component, return ret; } - ret = snd_sof_ipc_pcm_params(sdev, substream, &ipc_params_reply); - if (ret < 0) { - dev_err(component->dev, "%s: got wrong reply for PCM %d\n", - __func__, spcm->pcm.pcm_id); - return ret; - } - ret = snd_sof_set_stream_data_offset(sdev, substream, ipc_params_reply.posn_offset); if (ret < 0) { |