[Sound-open-firmware] [PATCH] ipc: component config must always be after comp header.

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Aug 24 00:57:47 CEST 2017


State this to be obvious. TODO: merge into 1 structure to enforce this.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/include/uapi/ipc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/uapi/ipc.h b/src/include/uapi/ipc.h
index ae212be..003b96e 100644
--- a/src/include/uapi/ipc.h
+++ b/src/include/uapi/ipc.h
@@ -494,7 +494,7 @@ struct sof_ipc_buffer {
 } __attribute__((packed));
 
 
-/* generic component config data */
+/* generic component config data - must always be after struct sof_ipc_comp */
 struct sof_ipc_comp_config {
 	uint32_t periods_sink;	/* 0 means variable */
 	uint32_t periods_source;	/* 0 means variable */
-- 
2.11.0



More information about the Sound-open-firmware mailing list