]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: sof-client: Add support IPC4 message sending
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 6 May 2022 13:26:44 +0000 (16:26 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 17:17:59 +0000 (18:17 +0100)
commitc04b98ffeb07295873326649e181c64127d5b4cb
tree8121fc850cfd09a559f12d999708bd5b92d0d34f
parentfc85df30719c870a3881865c4f2f8c587fc262a4
ASoC: SOF: sof-client: Add support IPC4 message sending

In order to be able to send an IPC4 message, the
sof_client_ipc_tx_message() needs to parse the tx message differently to
extract the size.

The IPC notification registration is done by providing the notification
type and the whole message is passed to the client when a match is found.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220506132647.18690-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-client.c