OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8524941
)
ucm: make sure active modifier and device lists are initialised
author
Liam Girdwood
<lrg@slimlogic.co.uk>
Tue, 21 Dec 2010 22:11:54 +0000
(23:11 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
Wed, 22 Dec 2010 07:05:36 +0000
(08:05 +0100)
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
src/ucm/main.c
patch
|
blob
|
history
diff --git
a/src/ucm/main.c
b/src/ucm/main.c
index
ecf07f9
..
ff201da
100644
(file)
--- a/
src/ucm/main.c
+++ b/
src/ucm/main.c
@@
-585,6
+585,8
@@
int snd_use_case_mgr_open(snd_use_case_mgr_t **mgr,
INIT_LIST_HEAD(&uc_mgr->verb_list);
INIT_LIST_HEAD(&uc_mgr->default_list);
INIT_LIST_HEAD(&uc_mgr->value_list);
+ INIT_LIST_HEAD(&uc_mgr->active_modifiers);
+ INIT_LIST_HEAD(&uc_mgr->active_devices);
pthread_mutex_init(&uc_mgr->mutex, NULL);
uc_mgr->card_name = strdup(card_name);