From 21b61df12df99a34c03b27dae0ee594b2bc0ea90 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Mon, 20 Sep 2021 16:59:30 -0700 Subject: [PATCH 1/3] ipc4: add return value to case without this we return an uninitialized value Signed-off-by: Curtis Malainey --- src/ipc/ipc4/handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipc/ipc4/handler.c b/src/ipc/ipc4/handler.c index 37a8bfb18c6b..423e97dc4882 100644 --- a/src/ipc/ipc4/handler.c +++ b/src/ipc/ipc4/handler.c @@ -280,6 +280,7 @@ static int ipc4_process_glb_message(union ipc4_message_header *ipc4) case SOF_IPC4_GLB_SAVE_PIPELINE: case SOF_IPC4_GLB_RESTORE_PIPELINE: tr_err(&ipc_tr, "not implemented ipc message type %d", type); + ret = IPC4_UNAVAILABLE; break; /* Loads library (using Code Load or HD/A Host Output DMA) */ From edf15b2ba68f84ec48c060d38986ee8f7997e065 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Mon, 20 Sep 2021 17:08:34 -0700 Subject: [PATCH 2/3] ipc4: add missing header irq_local_disable has no definition without it Signed-off-by: Curtis Malainey --- src/ipc/ipc4/helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipc/ipc4/helper.c b/src/ipc/ipc4/helper.c index d3b1158c186d..a3cffd31e5b6 100644 --- a/src/ipc/ipc4/helper.c +++ b/src/ipc/ipc4/helper.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include From 6f5d1b0290c27967314a4487da798547f1126ff0 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Mon, 20 Sep 2021 17:15:44 -0700 Subject: [PATCH 3/3] library: add missing header for ipc4 This header is needed for building IPC4 code Signed-off-by: Curtis Malainey --- src/platform/library/include/platform/drivers/alh.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/platform/library/include/platform/drivers/alh.h diff --git a/src/platform/library/include/platform/drivers/alh.h b/src/platform/library/include/platform/drivers/alh.h new file mode 100644 index 000000000000..e69de29bb2d1