From b5130087aec920ee79666e342a2637d683f1e689 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Tue, 17 Nov 2026 14:59:18 +0200 Subject: [PATCH] audio: wov_arbiter: number enum control IDs from zero The kernel numbers the enum controls of a widget from zero in topology order, and uses that index as the control ID in IPC4 control messages and notifications. The arbiter expected IDs 1 and 2 for the Phrase Detect ID and WoV Call State controls, so the kernel's Phrase Detect ID (0) was rejected and every WoV PCM failed in prepare. Use IDs 0 and 1 to match the kernel. This also makes the control change notifications from the arbiter update the right host control. Signed-off-by: Seppo Ingalsuo --- src/include/sof/audio/wov_arbiter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/sof/audio/wov_arbiter.h b/src/include/sof/audio/wov_arbiter.h index 0dff468fd275..b6565a42c0c7 100644 --- a/src/include/sof/audio/wov_arbiter.h +++ b/src/include/sof/audio/wov_arbiter.h @@ -12,9 +12,9 @@ /* Sentinel: no slot is currently draining. */ #define WOV_ARB_NO_ACTIVE 0xff -/** Host enum control IDs exposed by the WoV arbiter topology. */ -#define WOV_ARB_ACTIVE_SLOT_CONTROL_ID 1 -#define WOV_ARB_CALL_STATE_CONTROL_ID 2 +/** Host enum control IDs, the kernel numbers enums of a widget from 0. */ +#define WOV_ARB_ACTIVE_SLOT_CONTROL_ID 0 +#define WOV_ARB_CALL_STATE_CONTROL_ID 1 /** Values of the host WoV call-state enum control. */ #define WOV_ARB_CALL_STATE_LISTENING 0