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/stream-ipc.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/stream-ipc.c')
-rw-r--r-- | sound/soc/sof/stream-ipc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/sof/stream-ipc.c b/sound/soc/sof/stream-ipc.c index b7b96b9f5279..5f1ceeea893a 100644 --- a/sound/soc/sof/stream-ipc.c +++ b/sound/soc/sof/stream-ipc.c @@ -65,14 +65,6 @@ int sof_set_stream_data_offset(struct snd_sof_dev *sdev, } EXPORT_SYMBOL(sof_set_stream_data_offset); -int sof_ipc_pcm_params(struct snd_sof_dev *sdev, - struct snd_pcm_substream *substream, - const struct sof_ipc_pcm_params_reply *reply) -{ - return sof_set_stream_data_offset(sdev, substream, reply->posn_offset); -} -EXPORT_SYMBOL(sof_ipc_pcm_params); - int sof_stream_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) { |