diff options
author | 2022-03-30 13:19:24 -0700 | |
---|---|---|
committer | 2022-04-04 08:39:09 +0100 | |
commit | 2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a (patch) | |
tree | 95647f49a178f986f76ecae65889fbbe82b0250b /sound/soc/sof/ipc3.c | |
parent | ASoC: SOF: ipc: Use msg->reply_data directly in snd_sof_ipc_get_reply() (diff) | |
download | linux-2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a.tar.gz linux-2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a.tar.bz2 linux-2a51c0f81adda8cc32b02e8ca7b7d9d13ad4376a.zip |
ASoC: SOF: Drop 'header' parameter from tx_message() API
The header parameter is not used anymore and now it can be dropped from
the parameter list of tx_message().
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220330201926.1330402-10-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc3.c')
-rw-r--r-- | sound/soc/sof/ipc3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/ipc3.c b/sound/soc/sof/ipc3.c index 03e914b62728..a7289804efda 100644 --- a/sound/soc/sof/ipc3.c +++ b/sound/soc/sof/ipc3.c @@ -19,8 +19,8 @@ static int sof_ipc3_ctx_ipc(struct snd_sof_dev *sdev, int cmd) struct sof_ipc_reply reply; /* send ctx save ipc to dsp */ - return sof_ipc_tx_message(sdev->ipc, pm_ctx.hdr.cmd, &pm_ctx, - sizeof(pm_ctx), &reply, sizeof(reply)); + return sof_ipc_tx_message(sdev->ipc, &pm_ctx, sizeof(pm_ctx), + &reply, sizeof(reply)); } static int sof_ipc3_ctx_save(struct snd_sof_dev *sdev) |