38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
diff --git a/sound/soc/sof/ipc3-pcm.c b/sound/soc/sof/ipc3-pcm.c
|
|
--- a/sound/soc/sof/ipc3-pcm.c
|
|
+++ b/sound/soc/sof/ipc3-pcm.c
|
|
@@ -19,6 +19,7 @@
|
|
struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
|
|
struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
|
|
struct sof_ipc_stream stream;
|
|
+ struct sof_ipc_reply reply;
|
|
struct snd_sof_pcm *spcm;
|
|
|
|
spcm = snd_sof_find_spcm_dai(component, rtd);
|
|
@@ -33,7 +34,7 @@
|
|
stream.comp_id = spcm->stream[substream->stream].comp_id;
|
|
|
|
/* send IPC to the DSP */
|
|
- return sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeof(stream));
|
|
+ return sof_ipc_tx_message(sdev->ipc, &stream, sizeof(stream), &reply, sizeof(reply));
|
|
}
|
|
|
|
static int sof_ipc3_pcm_hw_params(struct snd_soc_component *component,
|
|
@@ -146,6 +147,7 @@
|
|
struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
|
|
struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
|
|
struct sof_ipc_stream stream;
|
|
+ struct sof_ipc_reply reply;
|
|
struct snd_sof_pcm *spcm;
|
|
|
|
spcm = snd_sof_find_spcm_dai(component, rtd);
|
|
@@ -177,7 +179,7 @@
|
|
}
|
|
|
|
/* send IPC to the DSP */
|
|
- return sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeof(stream));
|
|
+ return sof_ipc_tx_message(sdev->ipc, &stream, sizeof(stream), &reply, sizeof(reply));
|
|
}
|
|
|
|
static void ssp_dai_config_pcm_params_match(struct snd_sof_dev *sdev, const char *link_name,
|