diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-03-09 20:27:20 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-11 13:41:09 +0000 |
commit | 00f19253633710877880ad062d6cee3c13deb9a5 (patch) | |
tree | 324d1f79c734fe081f150b54e6db5084ba680bbf /sound/soc/sof/ops.h | |
parent | f0383aded3c6e61e044b90662bf99b3d850c5d90 (diff) | |
download | linux-stable-00f19253633710877880ad062d6cee3c13deb9a5.tar.gz linux-stable-00f19253633710877880ad062d6cee3c13deb9a5.tar.bz2 linux-stable-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/ops.h')
-rw-r--r-- | sound/soc/sof/ops.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sound/soc/sof/ops.h b/sound/soc/sof/ops.h index aeea73efcb2f..a19474663767 100644 --- a/sound/soc/sof/ops.h +++ b/sound/soc/sof/ops.h @@ -466,19 +466,6 @@ static inline int snd_sof_ipc_msg_data(struct snd_sof_dev *sdev, { return sof_ops(sdev)->ipc_msg_data(sdev, substream, p, sz); } - -/* host configure DSP HW parameters */ -static inline int -snd_sof_ipc_pcm_params(struct snd_sof_dev *sdev, - struct snd_pcm_substream *substream, - const struct sof_ipc_pcm_params_reply *reply) -{ - if (sof_ops(sdev) && sof_ops(sdev)->ipc_pcm_params) - return sof_ops(sdev)->ipc_pcm_params(sdev, substream, reply); - - return 0; -} - /* host side configuration of the stream's data offset in stream mailbox area */ static inline int snd_sof_set_stream_data_offset(struct snd_sof_dev *sdev, |