ASoC: SOF: Wire up buffer flags
Buffer flags have been in firmware for ages but were never fully implemented in the topology/kernel system. This commit finishes off the implementation. Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20231204214713.208951-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8ec56af3da
commit
ebd12b2ca6
@ -35,6 +35,7 @@
|
||||
/* buffers */
|
||||
#define SOF_TKN_BUF_SIZE 100
|
||||
#define SOF_TKN_BUF_CAPS 101
|
||||
#define SOF_TKN_BUF_FLAGS 102
|
||||
|
||||
/* DAI */
|
||||
/* Token retired with ABI 3.2, do not use for new capabilities
|
||||
|
@ -72,6 +72,8 @@ static const struct sof_topology_token buffer_tokens[] = {
|
||||
offsetof(struct sof_ipc_buffer, size)},
|
||||
{SOF_TKN_BUF_CAPS, SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
|
||||
offsetof(struct sof_ipc_buffer, caps)},
|
||||
{SOF_TKN_BUF_FLAGS, SND_SOC_TPLG_TUPLE_TYPE_WORD, get_token_u32,
|
||||
offsetof(struct sof_ipc_buffer, flags)},
|
||||
};
|
||||
|
||||
/* DAI */
|
||||
|
Loading…
x
Reference in New Issue
Block a user