aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/sof/sof-client-probes-ipc4.c
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2023-04-19 14:40:57 -0500
committerMark Brown <broonie@kernel.org>2023-04-20 12:51:45 +0100
commit367fd6ffa294ca3346902aa0814fac31bb5a6059 (patch)
tree8a07d63355fd1ad8772429642aeb7e4ccf16341b /sound/soc/sof/sof-client-probes-ipc4.c
parentASoC: SOF: ipc: Add no reply inline calls (diff)
downloadwireguard-linux-367fd6ffa294ca3346902aa0814fac31bb5a6059.tar.xz
wireguard-linux-367fd6ffa294ca3346902aa0814fac31bb5a6059.zip
ASoC: SOF: Use no_reply calls for TX
Convert all existing calls that pass "NULL, 0" for reply data to the new no_reply calls. Also convert any calls that pass in data but don't actually parse the result. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20230419194057.42205-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client-probes-ipc4.c')
-rw-r--r--sound/soc/sof/sof-client-probes-ipc4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/sof-client-probes-ipc4.c b/sound/soc/sof/sof-client-probes-ipc4.c
index 66fa7c2f390a..ea21ef176c42 100644
--- a/sound/soc/sof/sof-client-probes-ipc4.c
+++ b/sound/soc/sof/sof-client-probes-ipc4.c
@@ -129,7 +129,7 @@ static int ipc4_probes_init(struct sof_client_dev *cdev, u32 stream_tag,
msg.data_size = sizeof(cfg);
msg.data_ptr = &cfg;
- return sof_client_ipc_tx_message(cdev, &msg, NULL, 0);
+ return sof_client_ipc_tx_message_no_reply(cdev, &msg);
}
/**
@@ -156,7 +156,7 @@ static int ipc4_probes_deinit(struct sof_client_dev *cdev)
msg.data_size = 0;
msg.data_ptr = NULL;
- return sof_client_ipc_tx_message(cdev, &msg, NULL, 0);
+ return sof_client_ipc_tx_message_no_reply(cdev, &msg);
}
/**