ASoC: SOF: ipc4: Add macro to set the core_id in create_pipe message
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 7 Mar 2023 12:35:54 +0000 (14:35 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2023 13:58:12 +0000 (13:58 +0000)
commit11f45690b3f6c6a2b5c57dbb036df3f838f7c016
tree738b5a1aec0687b04d291d89eba0263e0c5032b5
parented3b4b8772783e840d93a079b2dbdd7f9c4b3c76
ASoC: SOF: ipc4: Add macro to set the core_id in create_pipe message

The create pipeline message can carry the target code_id which is set to
0 at the moment.

Add macros to set the core_id in the message extension.

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>
Link: https://lore.kernel.org/r/20230307123556.31328-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/ipc4/header.h