summaryrefslogtreecommitdiff
path: root/sound/soc/sof/pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sof/pcm.c')
-rw-r--r--sound/soc/sof/pcm.c7
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) {