diff options
author | Peter Ujfalusi <[email protected]> | 2022-05-05 12:48:16 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-05-05 13:24:43 +0100 |
commit | 84c2dca3c3d4b8e011a2536fc7aaf2a2bdc77972 (patch) | |
tree | 6686cf45cb2ef637effd74c493c195e40d7efdf2 /lib/mpi/mpi-sub-ui.c | |
parent | 6ff98a694cc114fd79f692345a7fbd469f800f8c (diff) |
ASoC: SOF: Add rx_data pointer to snd_sof_ipc_msg struct
The rx_data pointer can be used by IPC implementations to pass the received
message (or part of the message, like the header) from platform code to
generic, high level IPC code.
IPC4 is going to be the first user of this as its implementation on Intel
platforms detaches the header and payload and the rx cannot be handled in
a similar way as it is implemented for ipc3.
If the rx_data is dynamically allocated, it is up to the platform code to
free it up.
After the message reception handling (rx_msg ops) returned, the pointer via
the msg->rx_data should be considered as invalid.
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions