ipc4: add return value to case

without this we return an uninitialized value

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2021-09-20 16:59:30 -07:00 committed by Liam Girdwood
parent d8a19a4d20
commit cc37017565
1 changed files with 1 additions and 0 deletions

View File

@ -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) */