projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: ctl: change return value in compatibility layer so that it's the same value...
[cascardo/linux.git]
/
sound
/
core
/
control_compat.c
diff --git
a/sound/core/control_compat.c
b/sound/core/control_compat.c
index
0608f21
..
1fa7076
100644
(file)
--- a/
sound/core/control_compat.c
+++ b/
sound/core/control_compat.c
@@
-196,7
+196,7
@@
static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id,
kctl = snd_ctl_find_id(card, id);
if (! kctl) {
up_read(&card->controls_rwsem);
- return -EN
XIO
;
+ return -EN
OENT
;
}
info = kzalloc(sizeof(*info), GFP_KERNEL);
if (info == NULL) {