mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 17:35:36 -04:00
ASoC: SOF: ipc3: Use sof_ipc3_tx_msg() internally for message sending
Instead of using sof_ipc_tx_message() for sending message, use the sof_ipc3_tx_msg() directly within ipc3.c Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.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/20220405172708.122168-5-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
0881918087
commit
dbcf543cf9
@@ -325,8 +325,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, sizeof(pm_ctx),
|
||||
&reply, sizeof(reply));
|
||||
return sof_ipc3_tx_msg(sdev, &pm_ctx, sizeof(pm_ctx),
|
||||
&reply, sizeof(reply), false);
|
||||
}
|
||||
|
||||
static int sof_ipc3_ctx_save(struct snd_sof_dev *sdev)
|
||||
|
||||
Reference in New Issue
Block a user