projects
/
external
/
alsa-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen 2.3.1 release
[external/alsa-lib.git]
/
src
/
hwdep
/
hwdep.c
diff --git
a/src/hwdep/hwdep.c
b/src/hwdep/hwdep.c
index
b882b35
..
5dc791c
100644
(file)
--- a/
src/hwdep/hwdep.c
+++ b/
src/hwdep/hwdep.c
@@
-78,6
+78,7
@@
static int snd_hwdep_open_conf(snd_hwdep_t **hwdep,
if (err >= 0) {
if (snd_config_get_type(type_conf) != SND_CONFIG_TYPE_COMPOUND) {
SNDERR("Invalid type for HWDEP type %s definition", str);
+ err = -EINVAL;
goto _err;
}
snd_config_for_each(i, next, type_conf) {