[PATCH 1/5] ASoC: SOF: dai: mirror group_id definition added in firmware

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Oct 4 19:14:26 CEST 2021


This was added in ABI 3.17 but never added to the kernel tree. The
group_id is not currently used but this patch is required before
additional changes.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
Reviewed-by: Bard Liao <bard.liao at intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski at linux.intel.com>
Reviewed-by: Brent Lu <brent.lu at intel.com>
---
 include/sound/sof/dai.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/sound/sof/dai.h b/include/sound/sof/dai.h
index 6bb403e8c5ee..ea6dc970c18f 100644
--- a/include/sound/sof/dai.h
+++ b/include/sound/sof/dai.h
@@ -69,7 +69,8 @@ struct sof_ipc_dai_config {
 
 	/* physical protocol and clocking */
 	uint16_t format;	/**< SOF_DAI_FMT_ */
-	uint16_t reserved16;	/**< alignment */
+	uint8_t group_id;	/**< group ID, 0 means no group (ABI 3.17) */
+	uint8_t reserved8;	/**< alignment */
 
 	/* reserved for future use */
 	uint32_t reserved[8];
-- 
2.25.1



More information about the Alsa-devel mailing list