mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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:
parent
c083417b72
commit
496c4e031b
1 changed files with 1 additions and 0 deletions
|
|
@ -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; \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue