diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-09-09 14:43:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-09 20:48:46 +0300 |
commit | b59f1532e0b17f22965e327f86d04292f496ccaf (patch) | |
tree | e7e395b74a3d30655b922316077c21132b0791d1 /sound/soc/sof/ipc4-priv.h | |
parent | e9bcfea156b4d8563109c17c033fa496f0ec4995 (diff) | |
download | linux-b59f1532e0b17f22965e327f86d04292f496ccaf.tar.xz |
ASoC: SOF: ipc4: Add define for the outbox window index
Instead of using the index number directly, add a define for the outbox
window index.
It is always window 1 with IPC4.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220909114332.31393-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc4-priv.h')
-rw-r--r-- | sound/soc/sof/ipc4-priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/ipc4-priv.h b/sound/soc/sof/ipc4-priv.h index 9492fe1796c2..f3dbcc2e6331 100644 --- a/sound/soc/sof/ipc4-priv.h +++ b/sound/soc/sof/ipc4-priv.h @@ -13,6 +13,9 @@ #include <sound/sof/ext_manifest4.h> #include "sof-priv.h" +/* The DSP window indices are fixed */ +#define SOF_IPC4_OUTBOX_WINDOW_IDX 1 + /** * struct sof_ipc4_fw_data - IPC4-specific data * @manifest_fw_hdr_offset: FW header offset in the manifest |