]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: sof-client: Add API to get the maximum IPC payload size
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 6 May 2022 13:26:40 +0000 (16:26 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 17:17:55 +0000 (18:17 +0100)
commit38c08168dd95465085c2b3d92d7b7097280c012d
treee1003a552ccb8ad976d99e1eedf7ea681d43fba7
parent161d65e710d3f7afd4d5cb87ae00bef67badab87
ASoC: SOF: sof-client: Add API to get the maximum IPC payload size

Provide a way for the client drivers to query the maximum payload size of
an IPC message.
Currently clients do not have access to this information and they can only
use the SOF_IPC_MSG_MAX_SIZE defined value.

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-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-client.c
sound/soc/sof/sof-client.h