projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0881918
)
ASoC: SOF: ipc3: Use sof_ipc3_tx_msg() internally for message sending
author
Peter Ujfalusi
<peter.ujfalusi@linux.intel.com>
Tue, 5 Apr 2022 17:26:57 +0000
(10:26 -0700)
committer
Mark Brown
<broonie@kernel.org>
Mon, 11 Apr 2022 18:17:50 +0000
(19:17 +0100)
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>
sound/soc/sof/ipc3.c
patch
|
blob
|
history
diff --git
a/sound/soc/sof/ipc3.c
b/sound/soc/sof/ipc3.c
index 7f80035d3a88a18f9f065dedeb8d30c860b4cbfc..6b59d4d0727f7e5ab45a41e87be87841b755ebf8 100644
(file)
--- a/
sound/soc/sof/ipc3.c
+++ b/
sound/soc/sof/ipc3.c
@@
-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_ipc
3_tx_msg(sdev
, &pm_ctx, sizeof(pm_ctx),
+
&reply, sizeof(reply), false
);
}
static int sof_ipc3_ctx_save(struct snd_sof_dev *sdev)