diff options
author | Curtis Malainey <cujomalainey@chromium.org> | 2023-04-19 14:40:57 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-20 12:51:45 +0100 |
commit | 367fd6ffa294ca3346902aa0814fac31bb5a6059 (patch) | |
tree | 8a07d63355fd1ad8772429642aeb7e4ccf16341b /sound/soc/sof/sof-client-probes-ipc4.c | |
parent | ccb541a00b5bf87f1b7b9301373bf88a3257c688 (diff) | |
download | linux-stable-367fd6ffa294ca3346902aa0814fac31bb5a6059.tar.gz linux-stable-367fd6ffa294ca3346902aa0814fac31bb5a6059.tar.bz2 linux-stable-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.c | 4 |
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); } /** |