OSDN Git Service

ASoC: SOF: Add high level IPC IO callback definitions to ipc_ops
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 5 Apr 2022 17:26:55 +0000 (10:26 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:17:48 +0000 (19:17 +0100)
commit25e77672c4e18fe76dbf2e21ab8c7c36d6a323cc
treec30a5d311cbd600f9fe94ba73efcd6b6f97833d6
parentb4dcafe45e46f107b5f65a004d49e11e56fe4f87
ASoC: SOF: Add high level IPC IO callback definitions to ipc_ops

Add tx_msg(), rx_msg(), set_get_data() and get_reply() ops, which can
be used as a generic API for sending, receiving single messages and
to write and read large data.

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-3-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-priv.h