ucm: fix geti() macro - return zero on success

Fixes: c083417b ("ucm: simplify and fix the previous patch (geti)")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2023-01-15 18:57:56 +01:00
parent c083417b72
commit 496c4e031b

View file

@ -2425,6 +2425,7 @@ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr,
if (val >= 0) { \
if ((ifind)((uc_mgr), (uc_mgr)->active_verb, (str), 0)) { \
*(value) = val; \
val = 0; \
} else { \
val = -ENOENT; \
} \